Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Windows Authentication not working in ASP.NET

$
0
0

Hi All

I am trying to get the username of the user accessing the intranet site. Everything I looked at on the internet said to enable windows authentication and disable anonymous authentication. However, when I do this my web application fails with an error of"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.".

If I enable anonymous authentication then the page opens as expected but I get the "IIS APPPOOL\DefaultAppPool" user being pulled back and not the users username as I would expect.

Any help on how to fix this will be very much appreciated.

Thanks


Viewing all articles
Browse latest Browse all 4737

Trending Articles



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