Quantcast
Channel: Windows Authentication issue in IIS 7.5 - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Windows Authentication issue in IIS 7.5

$
0
0

I'm new to IIS 7.5 and I am trying to get a site working with Windows Authentication. It's an ASP.NET 4.0 application which is set up as an application under the default website and it is running the ASP.NET 4 app pool. The application is set up with Anonymous Authentication disabled and Windows Authentication enabled.

The site is not authenticating properly - I can see an error in the event log (this is a Null Reference error to do with some code that uses Context.User) and the detail says IsAuthenticated=False and the User is blank.

I have set Authentication Mode = Windows under <system.web> in my Web.config and have tried various other config settings without success.

I've tried using the ASP.NET classic app pool but get an error

Handler "ExtensionlessUrl-ISAPI-4.0_64bit" has a bad module"IsapiModule" in its module list

I'd prefer to get it working using the ASP.NET 4 app pool if possible. Can anyone advise what I need to do?


Viewing all articles
Browse latest Browse all 3

Trending Articles





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