HTTP错误500.19 - 内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效。 [英] HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

查看:1126
本文介绍了HTTP错误500.19 - 内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

配置错误



配置部分'rewriter'无法读取,因为它缺少部分声明

Config Error

The configuration section 'rewriter' cannot be read because it is missing a section declaration

推荐答案

请参阅 - URL重写 - web.config错误 [ ^ ]。

Refer - URL rewrite - web.config error[^].
Quote:

确保您的< rewrite> 包含在< system.webServer>< /system.webServer> section。

Make sure your <rewrite> is enclosed in the <system.webServer></system.webServer> section.



另外 - 配置部分'重写'无法阅读,因为它缺少部分声明 [ ^ ]。


Also - The configuration section 'rewrite' cannot be read because it is missing a section declaration[^].

Quote:

这意味着Web服务器上没有安装URL Rewrite。您可以从www.iis.net安装它,搜索URL Rewrite,它应该在顶部。

That means that URL Rewrite isn't installed on the web server. You can install it from www.iis.net, search for URL Rewrite and it should be at the top.


Quote:

因为它缺少一个部分声明

because it is missing a section declaration



通常这意味着你的configsections部分没有一行在它开始之前声明该部分。



看看'声明自定义配置部分本文的一部分了解部分处理程序 - App.config文件 [ ^ ]


在网络服务器上安装重写模块,该错误应该消失:

http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module [ ^ ]
Install the rewrite module on the webserver and that error should go away:
http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module[^]


这篇关于HTTP错误500.19 - 内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆