Reputation: 4315
I have a Visual Studio 2010 project that is using Forms Authentiation. It runs fine from within Cassini (visual studio systray IIS, aka pressing F5). I'm using MVC2.
Keep receiving this error:
HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers.
PS: I didn't use the Create Virtual Directory option in Visual studio, since I need host headers for what i'm doing, so a dedicated IIS website.
Upvotes: 11
Views: 34552
Reputation: 1662
Follow the steps in this link
It is meant for IIS 7.0, but works for IIS 7.5 too.
Upvotes: 9
Reputation: 2012
See if this helps.
Fix 401.1 Error with Integrated Authentication on local machine
Upvotes: 0