博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
HTTP Error 500.19
阅读量:6281 次
发布时间:2019-06-22

本文共 3693 字,大约阅读时间需要 12 分钟。

HTTP Error 500.19 - Internal Server Error

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

需要给文件夹添加权限

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".

 

首先确认一下是否有Users的权限,如果没有的话,在本机下面添加

 

用systeminfo命令查看自己的computer name搜索出来,然后加上反斜杠,再加上IIS_IUSRS。进行check

 

 

Application Pool的权限,也是在本机添加 

 

 

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中允许所有用户访问

允许所有用户访问

 

设置权限

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:

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.

 

转载地址:http://rpxva.baihongyu.com/

你可能感兴趣的文章
[汇编语言学习笔记][第四章第一个程序的编写]
查看>>
android 打开各种文件(setDataAndType)转:
查看>>
补交:最最原始的第一次作业(当时没有选上课,所以不知道)
查看>>
Vue实例初始化的选项配置对象详解
查看>>
PLM产品技术的发展趋势 来源:e-works 作者:清软英泰 党伟升 罗先海 耿坤瑛
查看>>
vue part3.3 小案例ajax (axios) 及页面异步显示
查看>>
浅谈MVC3自定义分页
查看>>
.net中ashx文件有什么用?功能有那些,一般用在什么情况下?
查看>>
select、poll、epoll之间的区别总结[整理]【转】
查看>>
CSS基础知识(上)
查看>>
PHP中常见的面试题2(附答案)
查看>>
26.Azure备份服务器(下)
查看>>
mybatis学习
查看>>
LCD的接口类型详解
查看>>
Spring Boot Unregistering JMX-exposed beans on shutdown
查看>>
poi 导入导出的api说明(大全)
查看>>
Mono for Android 优势与劣势
查看>>
将图片转成base64字符串并在JSP页面显示的Java代码
查看>>
js 面试题
查看>>
sqoop数据迁移(基于Hadoop和关系数据库服务器之间传送数据)
查看>>