IIS 无法读取配置节"system.web.extensions",因为它缺少节声明
2023-09-14 09:03:14 时间
HTTP 错误 500.19 - Internal Server Error
无法访问请求的页面,因为该页的相关配置数据无效。
详细错误信息
模块 IIS Web Core
通知 BeginRequest
处理程序 尚未确定
错误代码 0x
HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。 详细错误信息 模块 IIS Web Core 通知 BeginRequest 处理程序 尚未确定 错误代码 0x80070032 配置错误 无法读取配置节“system.web.extensions”,因为它缺少节声明 配置文件 \\?\E:\12.service\AMACService\web.config 请求的 URL http://localhost:8088/AMACService/AMACService.svc 物理路径 E:\12.service\AMACService\AMACService.svc 登录方法 尚未确定 登录用户 尚未确定 25: /system.web 26: system.web.extensions 27: scripting 链接和更多信息 当读取 Web 服务器或 Web 应用程序的配置文件出现问题时,就会发生此错误。在某些情况下,事件日志会包含有关导致此错误的原因的更多信息。 查看更多信息 » 运行环境先检查下:
1.已经安装.net 4.0运行库
2.设置网站基于.net4.0![](http://img.blog.csdn.net/20160120115047658?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
如上添加后,在iis7的管理介面不再报错!
IIS 无法读取配置节 system.web.extensions ,因为它缺少节声明 作者:jiankunking 出处:http://blog.csdn.net/jiankunking 今天在本地安装iis,搭建网站,应用程序的时候报错下面的错误: 服务器错误 Internet Information Services 7.5 HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。
HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。 详细错误信息 模块 IIS Web Core 通知 BeginRequest 处理程序 尚未确定 错误代码 0x80070032 配置错误 无法读取配置节“system.web.extensions”,因为它缺少节声明 配置文件 \\?\E:\12.service\AMACService\web.config 请求的 URL http://localhost:8088/AMACService/AMACService.svc 物理路径 E:\12.service\AMACService\AMACService.svc 登录方法 尚未确定 登录用户 尚未确定 25: /system.web 26: system.web.extensions 27: scripting 链接和更多信息 当读取 Web 服务器或 Web 应用程序的配置文件出现问题时,就会发生此错误。在某些情况下,事件日志会包含有关导致此错误的原因的更多信息。 查看更多信息 » 运行环境先检查下:
1.已经安装.net 4.0运行库
2.设置网站基于.net4.0
3.修改“托管管道模式”,Set the Manage Pipeline mode from Integrated to Classic (由集成到经典)
然并软,问题还是没有解决。
最后在微软的论坛找到了解决的办法:
This is because config section hasnt declared. in 4.0 webconfig you have to add it manually.
configSections sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/ sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/ section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/ section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/ section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/ /sectionGroup /sectionGroup /sectionGroup /configSections
如上添加后,在iis7的管理介面不再报错!
本文参考:http://blog.csdn.net/maxwoods/article/details/8723221
IIS 无法读取配置节 system.web.extensions ,因为它缺少节声明 作者:jiankunking 出处:http://blog.csdn.net/jiankunking 今天在本地安装iis,搭建网站,应用程序的时候报错下面的错误: 服务器错误 Internet Information Services 7.5 HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。
相关文章
- 微服务(十一)——Config分布式配置中心&Bus消息总线
- kkFileView在线文件预览项目学习&搭建
- 一文吃透AQS&ReentrantLock的前世与今生
- Core Foundation & Foundation
- Golang环境变量设置(二)--GOMODULE&GOPROXY
- python & 0xFFFFFFFF打印输出负数的补码[通俗易懂]
- [AI安全论文] 21.S&P21 Survivalism经典离地攻击(Living-Off-The-Land)恶意软件系统分析
- NeurIPS2022 | 基于 Transformer Attention的联邦强化学习(滑铁卢大学&&含源码)
- 【Vite】配置HTTPS&自签名证书
- 业务安全之短信&邮箱验证码
- php 中输出控制器名称,Thinkphp5.0&&5.1怎么获取模块名控制器名方法名(权限配置中)
- CentOS python3 & Java 安装
- 全球最大的公开人脸数据集 | 清华大学&芯翌科技联合发布
- Mysql学习之路-AND & OR 运算符
- C&C++内存管理
- 模拟实现stack && queue/dequeue/适配器/优先级队列/仿函数
- 滥用图片博客做 C&C 配置
- 域渗透——Pass The Hash & Pass The Key
- Spring&Mybaits数据库配置解惑
- Linux下建立Web服务器的步骤(linux下的web配置)
- 新技术Web环境下Redis配置实战分享(web配置redis)
- 实现nginx&php服务器配置的非主流配置方法