Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Forms Authentication With Active Directory as ASP.NET MVC Membership Provider

$
0
0

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


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>