首页 新闻 搜索 专区 学院

Windows Server 2012运行ASP.NET站点出现“HTTP Error 500.19 - Internal Server Error”错误

0
悬赏园豆:20 [已解决问题] 解决于 2017-11-26 23:04

1台全新安装的Windows Server 2012服务器,运行ASP.NET站点出现下面的错误:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
...
Config Error       This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
...
Config Source:
  180:  <system.webServer>
  181:      <modules runAllManagedModulesForAllRequests="true">
dudu的主页 dudu | 高人七级 | 园豆:37078
提问于:2017-11-26 22:55
< >
分享
最佳答案
0

是安装IIS时没有选中ASP.NET 4.6引起的

dudu | 高人七级 |园豆:37078 | 2017-11-26 23:04
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册