Interface was developed using VS2015. After running the back-end API in debug mode, Postman called the interface and sent back an error message:
< title> IIS 10.0 Detailed error-401.2-unauthorized< /title>
< h4> The most likely reason :& Lt; /h4>
& lt; ul>
& lt; li> No authentication protocol (including anonymity) was selected in IIS. < /li>
& lt; li> Only integrated authentication is enabled, and the client browser used does not support integrated authentication. < /li>
& lt; li> Integrated authentication is enabled, and the request is issued through a proxy, but the proxy changes the authentication header before the request reaches the Web server. < /li>
& lt; li> The Web server is not configured for anonymous access and does not receive the required authorization headers. < /li>
& lt; li>” The configuration/system. WebServer/authorization “configuration section may explicitly rejected the user access. < /li>
& lt; /ul>
Solution: Project – Properties – Anonymous Authentication – has been enabled
< title> IIS 10.0 Detailed error-401.2-unauthorized< /title>
< h4> The most likely reason :& Lt; /h4>
& lt; ul>
& lt; li> No authentication protocol (including anonymity) was selected in IIS. < /li>
& lt; li> Only integrated authentication is enabled, and the client browser used does not support integrated authentication. < /li>
& lt; li> Integrated authentication is enabled, and the request is issued through a proxy, but the proxy changes the authentication header before the request reaches the Web server. < /li>
& lt; li> The Web server is not configured for anonymous access and does not receive the required authorization headers. < /li>
& lt; li>” The configuration/system. WebServer/authorization “configuration section may explicitly rejected the user access. < /li>
& lt; /ul>
Solution: Project – Properties – Anonymous Authentication – has been enabled
Read More:
- IIS express failed to start
- HTTP Error 401.1 – Unauthorized:Access is denied due to invalid credentials
- The request failed with HTTP status 401: Unauthorized. SSRS 2008
- HTTP error 405.0 – method not allowed solution for put and delete operations of rest Service on iis7.5
- Vs debug window flashback
- IIS 7.5, ASP.NET MVC. HTTP error 500 (internal server error), but debugging does not enter the background, the browser only reports 500 errors
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- WIN7 + IIS7 Service Unavailable HTTP Error 503. The service is unavailable.
- Error C1083 error msb3075 in UE4 generated by vs2019 debug editor
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- Solve the problem of “internal error” in “iis7.iiserver”
- feign.FeignException$Unauthorized: status 401 reading
- Error: ADB prompts device unauthorized
- HTTP error 401 and 403 detailed explanation and solution
- Feignexception $unauthorized is reported by introducing security call service
- Solution to server application error in IIS 5.1
- Springboot project: error parsing HTTP request header note: further occurrences of HTTP request parsing
- You must be logged in to the server (unauthorized)
- Error: Cannot find module ‘express’
- HTTP error code compact version