【II部署】
500.21 - Internal Server Error
在运行(cmd)里输入 %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
403.14-Forbidden解决办法
1.在web.config增加
<system.webServer>
<validationvalidateIntegratedModeConfiguration=“false”/>
</system.webServer>
2. 请检查一下“处理程序映射”,里面是否有“ExtensionlessUrlHandler-Integrated-4.0”,如果没有,请注册.net4.0:
3. 在运行(cmd)里输入:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i