I have an ASP.NET MVC 3 application with a auto-authorization using the client’s windows logon username.
When I run the app in the VS web server, it works perfectly. It starts on a random port (as usual) and immediately accepts any HTTP request, passing to the web server my windows username correctly (with a computer name as well).
When I deploy this project onto the IIS 7.5 I cant access the website in any way – I have been changing the authentication options and got no result – either IIS infinitely asks for credentials or displays “Error, No Access” page.
So, what options do I need to configure to let anyone correctly open the site, providing the credentials automatically?
You have to enable Windows authentication in IIS for your website.