Visit URL: http://blog.csdn.net/csethcrm/article/details/37820135
There are two places to configure:
Nodes in the 1.web.config:
<system.webServer> <validation validateintegratedmodeconfiguration= "false"/> <modules Runallmanagedmodulesforallrequests= "true"/></system.webserver>
You need to add an attribute in the modules configuration runallmanagedmodulesforallrequests
2. If the previous step does not work, you need to "add a script map"
- Open the "Handler mapping Settings" for IIS and "Add script map" under the action Bar on the right
- Request Path: *
- Executable file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
If these two steps do not work, then re-register the. NET Framework test, of course, this step can also be ranked first. In fact, when I use it, I just re-register the following. NET Framework 4.0 is working properly.
32-bit Windows:
---------------------------------------------------------------------------
1. Running->cmd
2. CD C:\Windows\Microsoft.NET\Framework\v4.0.30319
3. Aspnet_regiis.exe-i
64-bit Windows:
---------------------------------------------------------------------------
1. Running->cmd
2. CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319
3. Aspnet_regiis.exe-i
Go: IIS MVC Publishing Error 403.14-forbidden WEB server is configured to not list contents of this directory