I am deploying a new EF 4.0 ASP.NET MVC 4 site to an IIS 7.0 server but I'm getting an error that says:
"HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers."
I have Anonymous Authentication and Forms Authentication disabled. ASP.NET Impersonation and Windows Authentication are both enabled.
I've confirmed that everything okay according to this Microsoft KB article
Even better, there is already a working site in the same app pool using the same type of authentication.
I'm not sure what to check next. Does anyone have an idea what's causing this error?