2016-05-16 4 views
-3

Я получаю эту ошибку, когда я пытаюсь получить доступ к своему веб-сайт: -HTTP Error 401.2 - Несанкционированный Вы не авторизованы для просмотра этой страницы из-за недействительных заголовков аутентификации (для анонимной проверки подлинности)

HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. 
Most likely causes: 
• No authentication protocol (including anonymous) is selected in IIS. 
• Only integrated authentication is enabled, and a client browser was used that does not support integrated authentication. 
• Integrated authentication is enabled and the request was sent through a proxy that changed the authentication headers before they reach the Web server. 
• The Web server is not configured for anonymous access and a required authorization header was not received. 
• The "configuration/system.webServer/authorization" configuration section may be explicitly denying the user access. 
Things you can try: 
• Verify the authentication setting for the resource and then try requesting the resource using that authentication method. 
• Verify that the client browser supports Integrated authentication. 
• Verify that the request is not going through a proxy when Integrated authentication is used. 
• Verify that the user is not explicitly denied access in the "configuration/system.webServer/authorization" configuration section. 
• Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here. 
Detailed Error Information: 
Module  UrlAuthorizationModule 
Notification  AuthorizeRequest 
Handler ExtensionlessUrlHandler-Integrated-4.0 
Error Code  0x80070005 

Physical Path  D:\Logs 
Logon Method  Anonymous 
Logon User  Anonymous 

More Information: 
This error occurs when the WWW-Authenticate header sent to the Web server is not supported by the server configuration. Check the authentication method for the resource, and verify which authentication method the client used. The error occurs when the authentication methods are different. To determine which type of authentication the client is using, check the authentication settings for the client. 
View more information » 
Microsoft Knowledge Base Articles: 
• 907273 
• 253667 

У меня есть использовать анонимную аутентификацию, может ли кто-нибудь помочь?

+0

версии IIS 8.5 и только анонимная проверка подлинности включена с опцией «Application удостоверения пула». – Saini

+0

Я должен использовать только анонимную аутентификацию, может ли кто-нибудь помочь? – Saini

ответ

-1

Хорошо, наконец, я получил решение своей проблемы.

«Правила авторизации» не были установлены в системе.

Я установил необходимые «Правила авторизации» и смог успешно просмотреть сайт.

+4

Можете ли вы предоставить более конкретные детали? –

+0

Обеспечьте полную детальность. –

2

Этот невероятно неопределенный вопрос и ответ на самом деле привели меня к правильному решению конкретной проблемы HTTP 401.2. Неавторизованный ресурс анонимной аутентификации в IIS. Элемент «Правила авторизации» в IIS позволяет использовать явные записи «Разрешить/Запретить» с явным вариантом «Все анонимные пользователи». Указав это решение проблемы доступа, я потратил большую часть дня, пытаясь решить проблему, и я подумал, что добавлю дополнительные подробности здесь.

0

Для меня решение заключалось в том, чтобы войти в диспетчер IIS, выбрать веб-сайт, щелкнуть правой кнопкой мыши по Аутентификация, выбрать «Открыть функцию», а затем включить анонимную аутентификацию.

Этот SO вопрос имеет больше возможных решений, так как это, кажется, что существует множество различных причин: - HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers

 Смежные вопросы

  • Нет связанных вопросов^_^