IIS 403错误记录
WebConfig
需要在modules配置中添加属性runAllManagedModulesForAllRequests
1 <system.webServer> 2 <validation validateIntegratedModeConfiguration="false" /> 3 <modules runAllManagedModulesForAllRequests="true" /> 4 </system.webServer>
重装.NET 4.0
CMD ->C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
如果是4.5的程序,请安装4。net 4.5