New Asp.Net MVC5 project produces an infinite loop to login page

Highlight the project in Visual Studio

Open the ‘Properties’ panel on the right (or press F4)

Set ‘Windows Authentication’ to ‘Disabled’

Set ‘Anonymous Authentication’ to ‘Enabled’

Leave a Comment