Tuesday, April 21, 2015

error-message-401-2-unauthorized-logon-failed-due-to-server-configuration

I faced below error when i configured my project to a different machine, i checkedout my source code from TFS. This error mainly occours when Authentication Mode is wrongly configured in your IISExpress.



In order to resolve this error, click on your project and press F4 key. (Dont right click and click on properties as it will take you to a different page).

Change the settings as per above screenshot, disable anonymous mode and enable windows authentication. This will resolve this error.

Thanks,
Ujjwal

No comments: