Re: Accessing Site as Anonymous
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 06/10/05
- Next message: David Wang [Msft]: "Re: Custom erorr messages"
- Previous message: David Wang [Msft]: "Re: secure site - multiple users w/ 1 user account?"
- In reply to: Mike: "Accessing Site as Anonymous"
- Next in thread: Mike: "Re: Accessing Site as Anonymous"
- Reply: Mike: "Re: Accessing Site as Anonymous"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 10 Jun 2005 07:50:29 -0700
My suspicion is that the username/password for the anonymous user account is
out of sync with the local machine's account. You want to synchronize it to
make anonymous work again.
Check the web server log file (%systemroot%\System32\LogFiles\W3SVC#\*.log)
for your requests -- if they are failing with 401 1 <win32 error code> then
this is probably the problem.
See this URL for other reasons for anonymous not working.
http://blogs.msdn.com/david.wang/archive/2005/05/27/Access_Denied_to_Administrators_or_Anonymous_User.aspx
-- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // "Mike" <announ@tkd.net> wrote in message news:OWK%23uXPbFHA.2696@TK2MSFTNGP09.phx.gbl... I am out of options on trying to get this to work. I have a site that sits on our development box in a vlan. No matter what I do I can't access the site as an anonymous user - it just prompts me with a challenge response. If I cancel and try to access the site, my menu control does not render properly. I'm using the IE web controls for that. My current set up is Windows 2003 running and asp.net app in IIS. I am impersonating the ASPNET account with a custom account that I have set up according to documentation in patterns and practices. In IIS Manager I have set the Identity in DefaultAppPool to this custom account and in the directory security of the web site I have checked the Allow Anonymous and left the IUSR account as the user id. I can see in the task manager that the worker process is running under my custom account. My web.config file contains the statement: <authorization> <allow users="*" /> </authorization> So, what else can I check or do to get this to work? I've thought about running aspnet_regiis to reset everything in hopes of starting over, but I'm not sure if that will work. There is also a new version of aspnet_regiis in the 2.0 framework that accepts a switch "-ga" that assigns the proper permissions to a passed account. It works nicely on ASP.NET 2.0 apps - not sure if I can use that on a 1.1 version of the framework. Thanks for ANY help!!!! -- Mike Gasperino Sr. Software Developer office: 919-807-2310 **************************************************************************** E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law "NCGS.Ch.132" and may be disclosed to third parties ****************************************************************************
- Next message: David Wang [Msft]: "Re: Custom erorr messages"
- Previous message: David Wang [Msft]: "Re: secure site - multiple users w/ 1 user account?"
- In reply to: Mike: "Accessing Site as Anonymous"
- Next in thread: Mike: "Re: Accessing Site as Anonymous"
- Reply: Mike: "Re: Accessing Site as Anonymous"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]