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.
Follow the steps in this link
Error message when you try to visit a Web page that is hosted on IIS 7.0: "HTTP Error 401.2 - Unauthorized"
It is meant for IIS 7.0, but works for IIS 7.5 too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With