HTTP Error 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.

https://stackoverflow.com/questions/9216158/the-requested-page-cannot-be-accessed-because-the-related-configuration-data-for?page=1&tab=votes#tab-top

需要给文件夹添加权限

You need to assign permissions for IIS_IUSRS on the local machine (but you don‘t have to assign for IUSR, in fact it will work even if you explicitly deny permissions).

To assign permissions, just right click on the folder and on the security tab make sure to grant the correct permissions, and if the user is not listed then click "ADD", and enter IIS_IUSRS (and make sure that under "domain" the local computer is selected, or enter in the name field YourLocalComputerName\IIS_IUSRS), and then you are good to go.

If you want you can instead of assigning permissions to the IIS_IUSRS group, you can instead assign to the app pool which should in general be "IIS APPPOOL\ app pool name".

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type ‘WebApplication1.Global‘.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" Language="C#" %>

Source File: /WebForm/global.asax Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0

这个错误,需要编译一下website的project。

Server Error in ‘/WebForm‘ Application.

Access is denied.

Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.

Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server‘s administrator to give you access to ‘C:\Users\clu\Documents\Visual Studio 2017\Projects\WebApplication1\WebApplication1‘.

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0

需要调整一下iis中website的authentication,或者在web.config中允许所有用户访问

https://stackoverflow.com/questions/20683522/an-error-occurred-while-accessing-the-resources-required-to-serve-this-request

允许所有用户访问

<system.web>
    <authorization>
        <allow users="*" />
    </authorization>
</system.web>

设置权限

This is an old question but the answer is seriously insecure, you should add and enable the authentication provider that you require rather than giving anyone authorization.

To add the provider:

https://www.iis.net/configreference/system.webserver/security/authentication/windowsauthentication/providers/add

To enable the method:

  1. Open the IIS Management Console on the web server
  2. Expand the Sites folder
  3. Double-Click the IIS - Authentication option
  4. Under Authentication, select the Anonymous Authentication and click ‘Disable‘ in the Actions pane on the right
  5. For Windows Authentication: Select the Windows Authentication and click ‘Enable‘ in the Actions pane on the right
  6. For Basic Authentication: Select the Basic Authentication and click ‘Enable‘ in the Actions pane on the right

HTTP Error 401.2 - Unauthorized

You are not authorized to view this page due to invalid authentication headers.

这个开启匿名模式访问

Server Error in ‘/WebForm‘ Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /WebForm/login.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0

HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

时间: 2024-11-15 00:33:39

HTTP Error 500.19的相关文章

只允许一个 &lt;configSections&gt; 元素。它必须是根 &lt;configuration&gt; 元素的第一个子元素- HTTP Error 500.19

这还是我第一次遇到这个错误,以前都没太注意配置文件中元素的放置顺序.这次在调试一个ASP.NET MVC项目的时候,突然就爆出HTTP Error 500.19错误,提示无法访问请求的页面,因为该页的相关配置数据无效. 根据网页提供的错误信息,主要原因是configSections元素必须是configuration元素的第一个子元素.而我原本的配置信息如下(错误的): <configuration> <connectionStrings> <add name="S

项目部署错误 HTTP Error 500.19 - Internal Server Error

HTTP Error 500.19 - Internal Server Error配置错误: 不能在此路径中使用此配置节.如果在父级别上锁定了该节,便会出现这种情况.锁定是默认设置的 (overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的. 出现这个错误是因为 IIS 7 采用了更安全的 web.config 管理

【转载】HTTP 错误 500.19 - Internal Server Error

windows 2008下IIS7 安装ASP.NET 遇到如下错误: HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 详细错误信息模块 IIS Web Core 通知 BeginRequest 处理程序 尚未确定 错误代码 0x80070021 配置错误不能在此路径中使用此配置节.如果在父级别上锁定了该节,便会出现这种情况.锁定是默认设置的(overrideModeDefault="Deny"),或者是通

HTTP 错误 500.19 Internal Server Error的解决方法

第一种可能,能解决一部分问题 http://wenku.baidu.com/view/c5cb4a08bb68a98271fefa3f.html 第二种可能,解决另外一部分问题 经过检查发现是由于先安装vs2008后安装iis的缘故,只需重新注册下AspNet就可以了,具体步骤如下 1 打开运行,输入cmd进入到命令提示符窗口. 2 进入到C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 目录. 3 输入aspnet_regiis.exe –i 执行既可

IIS7.5 错误代码0x8007007e HTTP 错误 500.19 - Internal Server Error

今天在win2008+IIS7.5的环境中部署WCF服务后,一直出现无法打开的页面.具体错误信息如下: HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 详细错误信息 模块 DynamicCompressionModule 通知 SendResponse 处理程序 StaticFile 错误代码 0x8007007e 请求的 URL *** 物理路径 C:/ECG2.0/eWECGService 登录方法 匿名 登录用

windows 2008下IIS7 安装ASP.NET 遇到500.19

windows 2008下IIS7 安装ASP.NET 遇到如下错误: HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 详细错误信息模块 IIS Web Core 通知 BeginRequest 处理程序 尚未确定 错误代码 0x80070021 配置错误 不能在此路径中使用此配置节.如果在父级别上锁定了该节,便会出现这种情况.锁定是默认设置的(overrideModeDefault="Deny"),或者是

遭遇“HTTP 错误 500.19 无法访问请求的页面,因为该页的相关配置数据无效。”

windows 2008下IIS7 安装ASP.NET 遇到如下错误:  <!--[endif]--> HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 详细错误信息模块 IIS Web Core 通知 BeginRequest 处理程序 尚未确定 错误代码 0x80070021 配置错误不能在此路径中使用此配置节.如果在父级别上锁定了该节,便会出现这种情况.锁定是默认设置的(overrideModeDefault=

关于 IIS 上运行 ASP.NET Core 站点的“HTTP 错误 500.19”错误

昨天回答了博问中的一个问题 —— “HTTP 错误 500.19 - Internal Server Error dotnetcore”,今天在这篇随笔中时候事后诸葛亮地小结一下. 服务器是 Windows Server 2008 R2 ,ASP.NET Core 版本是 2.1 ,错误信息如下: HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 出现这个错误是由于 IIS 无法解析 Web.config 中的 xml

iis10 HTTP 错误 500.19 - Internal Server Error

HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效. 详细错误信息: 模块    IIS Web Core 通知    未知 处理程序    尚未确定 错误代码    0x8007000d 仔细分析了一下,原来是我的网站配置里用了URL Rewrite 安装后就好了 下载地址 https://www.iis.net/downloads/microsoft/url-rewrite