The requested page cannot be accessed because the related configuration data for the page is invalid

在开发过程中使用IIS Express调试Web程序,当打开网站时出现问题,显示如下的页面。造成这个问题的原因是,可能网站的Web.config中对于访问权限的控制与IIS Express自身的application.host中的配置出现问题。现在要做的是,就是根据提示,找到找到冲突的配置,这里是authentication的配置, 这个配置在\My Documents\IISExpress\config,具体路径可能会有变化,但是一般安装的时候都会把配置文件安装在My Documents中。

按照页面的提示,把有冲突的配置修改后,网站的访问就没有问题了。

以这个问题为例,这里是因为访问权限冲突,所以改掉这里就可以了。

时间: 2024-12-06 21:21:15

The requested page cannot be accessed because the related configuration data for the page is invalid的相关文章

[asp.net core]The requested page cannot be accessed because the related configuration data for the page is invalid.

bug HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. 解决办法 这是将asp.net core站的部署在iis上出现的错误,通过dotnet xxx.dll启动,可以看到kestrel,能正常进行访问,也能监听到请求信息,但通过iis代理时出现上面的错误.

2016/05/17 thinkphp3.2.2 分页的使用:①在Home下设置Publics文件夹或在thinkPHP下library的vender 把page.class.php 考贝进入 ②通过new 实例化方式调用 $page=new \Home\Publics\Page($total,3);

注意分页的方法有两种:一种是thinkphp3.2 自带的   另一种是之前新闻页用过的     显示效果稍有差别 显示效果: 细节问题: ①搜索页面  要加session判断   和  分页 ②修改和添加页面需要有session判断 ③增删改的权限设置 控制器端: 1 <?php 2 namespace Home\Controller; 3 use Think\Controller; 4 class UserController extends Controller 5 { 6 public

[Project] Simulate HTTP Post Request to obtain data from Web Page by using Python Scrapy Framework

1. Background Though it's always difficult to give child a perfect name, parent never give up trying. One of my friends met a problem now. his baby girl just came to the world, he want to make a perfect name for her. he found a web page, in which he

配置WebSite的IIS时遇到的问题与解决方法

1: Server Error Internet Information Services 7.5 Error Summary 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

(转)配置Website的IIS时遇到的问题与解决方法

在部署WebSite时遇到问题,刚好发现Eric Sun的文章,因此转载做个副本. 原文地址:http://www.cnblogs.com/mingmingruyuedlut/archive/2011/11/04/2235630.html 1: Server Error Internet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page canno

IIS Internal Server Error &amp;IIS8中部署WCF服务出错:HTTP 错误 404.3 - Not Found

Http error      503. The service is unavailable. Due to appliction pool is stop and start it can resolve it Server Error Internet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed b

Windows 2012 IIS ASP.NET 安装

from:http://blog.darkthread.net/post-2013-11-29-iis8-asp-net-setup.aspx 專案動用了SignalR 2.0,在我的Windows 2008R2開發機配合Chrome實測卻怎麼都無法開啟WebSocket傳輸,後來才發現SignalR支援WebSocket的必要條件: 1. 伺服器端: .NET 4.5 Framework + Windows 8 或 Windows 2012 2. 瀏覽器端: IE10+或其他瀏覽器 為上線預做

IIS 上发布ASP.NET5

原文 http://docs.asp.net/en/latest/publishing/iis.html 1.安装HTTP Platform Handler ,这个是必需的,不然无法通过IIS访问ASP.NET5生成的网站,未安装时提示错误为HTTP 500.19 : The requested page cannot be accessed because the related configuration data for the page is invalid. (下载地址在原文中有链接)

Publishing to IIS 发布到IIS

原文:https://docs.asp.net/en/latest/publishing/iis.html 发布到IIS Publishing to IIS By Rick Anderson and Luke Latham Install the HTTP Platform Handler Publish from Visual Studio Deploy to IIS server IIS server configuration Supported operating systems Com