windows2003 IIS6 method for deploying MVC3 and MVC4 programs

  • 2020-05-14 05:42:35
  • OfStack

1. Install SP2 and IIS6 on the server
2. Installation. Net Framework3. 5 SP1 (complete installation package, including 2.0 2.0 SP1, 237 MB that installation package / / www ofstack. com softs / 75472. html)
3. Installation. Net Framework4. 0 / / www. ofstack. com softs / 25944. html
4. Install WindowsServer2003 KB968930 - x86 - CHS. exe PowerShell 2.0 patch (download address: http: / / www microsoft. com/zh - cn/download/details aspx & # 63; id = 4045)
5. Install wic_x86_chs. exe, windows image processing components (download address: http: / / www microsoft. com/zh - cn/download/details aspx & # 63; id = 32)
6. Install AspNetMVC3Setup. exe (http: / / www. microsoft. com/zh - cn/download/details aspx & # 63; id = 4211)
7. Install AspNetMVC4Setup. exe (http: / / www. microsoft. com/zh - cn/download/details aspx & # 63; id = 30683)
8. Re-register IIS, C:\WINDOWS\ Microsoft.NET \Framework\ v4.0.30319 \ aspnet_regiis.exe-i
Please try to install in the order above.

The following is a supplement:

Windows server 2003 + IIS6 set up Asp.net MVC operating environment

Install.Net Framework4.0.
Download address: http: / / www microsoft. com/zh - cn/download/details aspx & # 63; id = 17718
Install the patch for WindowsServer2003-KB968930-x86-CHS.exe, PowerShell 2.0
Download address: http: / / www microsoft. com/zh - cn/download/details aspx & # 63; id = 4045
Install wic_x86_chs.exe, windows image processing components
Download address: http: / / www microsoft. com/zh - cn/download/details aspx & # 63; id = 32
Install Asp.net MVC (select the appropriate version as needed)
MVC 3 : http://www.microsoft.com/zh-cn/download/details.aspx?id=4211
MVC 4 : http://www.microsoft.com/zh-cn/download/details.aspx?id=30683
WebPages 2 : http://www.microsoft.com/zh-cn/download/details.aspx?id=34600
IIS, C:\WINDOWS\ Microsoft.NET \Framework\ v4.0.30319 \ aspnet_regiis.exe-i
Create a new website in IIS. Right-click on the site name, select properties, open the home directory TAB, and click configure to open the application configuration.
In the mapping TAB, click add to add the application extension mapping. C:\WINDOWS\ Microsoft.NET \Framework\ isapi.dll, extension:.mvc, action: restricted to GET,POST,HEAD, uncheck: confirm the existence of the file.
In the mapping TAB, click insert to add the application extension mapping. Executable file: C:\WINDOWS\ Microsoft.NET \ v4.0.30319 \ aspnet_isapi.dll, uncheck: confirm the existence of the file.


Related articles: