asp.net-mvc – HTTP错误500.19 – 内部服务器错误 – system.we
发布时间:2020-12-16 04:29:16 所属栏目:asp.Net 来源:网络整理
导读:我有以下内容: system.web compilation debug="true" targetFramework="4.5"/ httpRuntime targetFramework="4.5"/ customErrors mode="Off"/ /system.web 并且: system.webServer handlers remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/ remov
我有以下内容:
<system.web> <compilation debug="true" targetFramework="4.5"/> <httpRuntime targetFramework="4.5"/> <customErrors mode="Off"/> </system.web> 并且: <system.webServer> <handlers> <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/> <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/> <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> <remove name="OPTIONSVerbHandler"/> <remove name="TRACEVerbHandler"/> <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%Microsoft.NETFrameworkv4.0.30319aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/> <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%Microsoft.NETFramework64v4.0.30319aspnet_isapi.dll" preCondition="classicMode,bitness64" responseBufferLimit="0"/> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/> </handlers> </system.webServer> 当我运行我的应用程序时,我收到一个错误页面说: 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 CustomErrorModule Notification SendResponse Handler Not yet determined Error Code 0x80070490 Config Error The configuration section 'system.webServer/httpErrors' cannot be read because it is missing a section declaration 有人可以帮我解释一下. 我想,我不需要有自定义错误页面.但是我读到的所有内容都告诉我解决方案是添加自定义错误页面. 解决方法
希望以下答案对以后的人有所帮助,我将分享我对这个问题的经验.
由于各种原因可能会出现此错误.最近,由于以下原因,我遇到了错误: >缺少URL重写模块. 我的Web.config文件包含< rewrite>< / rewrite>需要安装IIS URL重写模块的部分(可以使用Web平台安装程序完成). > Azure SDK的升级. 我的Web.config文件包含以下条目: <system.diagnostics> <sharedListeners> <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,Microsoft.WindowsAzure.Diagnostics,Version=2.3.0.0,Culture=... PublicKeyToken=..."> 升级Azure SDK(2.3.x – > 2.6.x)后,无法解决2.3.x版本的这种“硬”依赖性.为了解决这个问题,我完全删除了Version元素(包括Culture和PublicKeyToken),因为在我的情况下,对最新程序集版本的依赖很好. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Asp.Net Web API和WCF服务有什么区别?
- ASP.NET登录控件布局模板失败文本
- asp.net – 无法检索元数据
- 推荐最新的Asp.Net Core 下开源的AOP框架 AspectCore
- asp.net-mvc – 在Owin Identity和Asp.Net MVC中正确使用声
- asp.net mvc 设置一个action的访问人数,达到上线排队
- asp.net-mvc – ActionFilterAttributes是否跨线程重用?如
- ASP.NET中操作SQL数据库(连接字符串的配置及获取)
- asp.net core在linux上的部署调试
- asp.net – tinymce在回发时获取HTML代码
推荐文章
站长推荐
- asp.net-mvc-3 – 用于在ASP.NET MVC3中使用Grid
- Asp.Net MVC 3部分页面输出缓存不符合配置设置
- ASP.NET OutputCache和回发
- ASP.NET Core中调整HTTP请求大小的几种方法详解
- Jquery+ajax请求data显示在GridView上(asp.net)
- asp.net – IIS Express似乎不会挑选对applicati
- 自动完成后的事件填写Asp.net C#或javascript /
- asp.net-mvc – 使用文件扩展名创建ActionResult
- .net – 如何处理异常是由ObjectDatasource的Sel
- 从wsdl文件更新asp.net WebService引用?
热点阅读