Developing an MVC 3.0 project, or a little bit of effort in deploying the service, lists the problems encountered here.
This article focuses on specific ways to install MVC 3.0 in IIS 7.5!
Deployment Prerequisites:
Microsoft. NET FrameWork 4.0 installation package
Installing ASP. NET MVC 3.0
If the ASP. NET v4.0.30319 is limited to "do not allow" to change it to "allow"
On the application "Add Application Pool" and select the. Net Framework v4.0.30310 version, here My name is written "Default4"
Then, right-click the "DEFAULT4" program pool, such as the site "add site" selection, to deploy the Web site.
Error message when testing:
"Failed from assembly" System.ServiceModel, version=3.0.0.0, Culture=neutral,
publickeytoken=b77a5c561934e089 "Load Type" System.ServiceModel.Activation.HttpModule ". ”
There is a version problem here, loading 3.0 DLL phenomenon. It is said online because of the reason for installing the IIS7.5 after installing the. Net Framework 4.0 first.
Then try re-registering the. NET Framework 4.0 with the aspnet_regiis.exe of the NET Framework 4.0.
Enter "C:\Windows\Microsoft.NET\Framework64\v4.0.30319" after running cmd
The execution statement is: "Aspnet_regiis.exe–iru"
There is a aspnetsetup_00000.log problem in the installation, after entering the file to see only the test site I deployed was not found after I deleted the system specified path and error.
Enter the address via IE:
Everything is done!
IIS 7 Deployment of MVC