Vivian软陶公仔

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

问题描述:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
 
Detailed Error Information:
Module     IIS Web Core
Notification       BeginRequest
Handler    Not yet determined
Error Code     0x80070021
Config Error       不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。
Config File    \\?\G:\source\cloud\cloudpos\src\SissCloud.Website\web.config
Requested URL      http://dev-sy-zx.sixun.com.cn:80/
Physical Path      G:\source\cloud\cloudpos\src\SissCloud.Website
Logon Method       Not yet determined
Logon User     Not yet determined
 
Config Source:
   93:     <validation validateIntegratedModeConfiguration="false"/>
   94:     <handlers>
   95:       <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
 
More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »

  

解决方案:

定位到:开始->控制面板->程序->启用或关闭windows功能(新版本windows控制面板隐藏有点深,可点击windows开始进行搜索“控制面板”切回旧的控制面板视图)

下图以windows 10为例:

在 启用或关闭windows功能列表中,可选择两者其一:

选项A :勾选“.NET Framework 3.5(包括.NET2.0和3.0)” 及 Internet Information Services->万维网服务->应用程序开发功能->ASP.NET3.5与.NET Extensibility 3.5

选项B:勾选“.NET Framework 4.8 Advanced Services->ASP.NET4.8” 及 Internet Information Services->万维网服务->应用程序开发功能->ASP.NET4.8与.NET Extensibility 4.8

 

posted on   Vivian软陶公仔  阅读(101)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章

导航

统计

点击右上角即可分享
微信分享提示