I have an ASP.NET MVC 3 project where I am using Active Directory as the membership provider withFormsAuthentication. My site has a controller where I use the Authorize attribute. Authorize works when I debug the project in Visual Studio, but when I publish the application to IIS I am not allowed to the view. If I remove the Authorize attribute, I am allowed to the view. I am successfully logging in against my Active Directory membership provider but IIS is not configured correctly.
Here are some of my settings in IIS:
Anonymous Authentication: Enabled ASP.NET
Impersonation: Disabled
Forms Authentication: Enabled
Windows Authentication: Disabled
The application has its own application pool (v4.0 classic)
I am hoping that I am missing something simple.
Thanks