Visual Studio 2013 Error message 401.2.: Unauthorized: Logon failed due to server configuration

Installed Visual Studio 2013 with great anticipation for an improved IDE. However, was immediately disappointed with a 401.2 error when running the debugger for the first time. This fix was trivial, the experience however was so Microsoft-ish. Like why can’t Microsoft products just work the first time? Why must I have to always solve a problem to get things going?

A google search pointed me to my problem source. Actually it was the same problem some encountered with Visual Studio 2012., i.e.

Server Error in '/' Application.


Access is denied.

Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.

 


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

 

Resolved by:

1.  Pressing F4 which brings up the Properties pane in the bottom right hand corner:

2, Choosing the application in the Solution Explorer pane. This will then display all the properties relevant to the project in the Properties pane.

3. Change the "Windows Authentication" property to Enabled.

Solution courtesy:

https://saravananarumugam.wordpress.com/2012/03/22/error-message-401-2-unauthorized-logon-failed-due-to-server-configuration/

2 thoughts on “Visual Studio 2013 Error message 401.2.: Unauthorized: Logon failed due to server configuration

Leave a reply to Pulkit Cancel reply