Author: dratcha | Posted on: 2/2/2010 1:58:13 PM | Views : 254

I have a basic intranet website for my company but there is one page that cannot allow anonymous as I need to grab the user's login. I created the site and everything works perfectly on my development machine. once moved to the production server it no longer works.
Here is the problem: I can get the login prompt when going to the secure page, but when trying to login I get a "401.1 - Unauthorized", even when trying to login as a server administrator.
Here is the authentication portion in my web.config:
<authentication mode="Windows"/> <authorization> <allow users="*"/> </authorization> </system.web> <location path="Secure.aspx"> <system.web> <authorization> <deny users="?"/> </authorization> </system.web> </location>

Go to the complete details ...