Win2003 IIS6.0 under Deployment of ASP. NET MVC4

Source: Internet
Author: User

Today, we are migrating an MVC Web site developed in the. NET Framework 4.5 to a single server on Win2003, IIS is version 6.0.

Server environment:

1, win2003 Enterprise Edition +sp2

2. IIS 6.0

3. The. NET Framework 4.0 (Win2003 does not support 4.5).

Start setting up IIS after the environment is ready.

1. Add a virtual directory by right-clicking on "Default Web Site", "new", "Virtual directory".

2. Open the properties of the new virtual directory, and on the Virtual Directory tab, click Configure.

3. In application configuration, on the Mappings tab, click Add

4, "Executable file" select C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll file.

"Extension" fills in MVC.

"Confirm file exists" before the hook is removed.

5. On the Mappings tab in application configuration, click Insert

6, "executable" or select just the DLL file, "Confirm the existence of files" before the hook removed.

7, in the virtual directory properties of the "ASP" tab, "ASP." Select 4.0.

The setup of the Ok,iis is complete.

Ps:1, because the program is 4.5, so the target in the Web. config is changed to 4.0. The program is still compiled with 4.5, just change the config just fine.

  

2, if the hint is missing some DLLs, it can be found in this machine to stick to the server on it.

Win2003 IIS6.0 under Deployment of ASP. NET MVC4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.