1.web.config中的节点:
<system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer>
需要在modules配置中添加属性runAllManagedModulesForAllRequests
2、重新注册.NET FRAMEWORK
32位的Windows:
---------------------------------------------------------------------------
1. 运行->cmd
2. cd C:WindowsMicrosoft.NETFrameworkv4.0.30319
3. aspnet_regiis.exe -i
64位的Windows:
---------------------------------------------------------------------------
1. 运行->cmd
2. cd C:WindowsMicrosoft.NETFramework64v4.0.30319
3. aspnet_regiis.exe -i