iis anonymous access

iis anonymous access

am 07.09.2007 17:45:48 von tiv

Hello All,

I am actually having the same problem on two different boxes....i am
using anonymous access, not windows integrated. I have synced the
IUSR credentials in the metabase, local users, and defined the
password in IIS at the default website. If i restart IIS, it will run
fine for ~ 24 hours, then it will begin to give the 401 "you are not
authorized blah blah blah.

It's just weird that restarting IIS every time fixes it, but i'm
looking for the long term solution.

Thanks in advance for all your help!!!!

Re: iis anonymous access

am 08.09.2007 09:25:30 von David Wang

On Sep 7, 8:45 am, tiv wrote:
> Hello All,
>
> I am actually having the same problem on two different boxes....i am
> using anonymous access, not windows integrated. I have synced the
> IUSR credentials in the metabase, local users, and defined the
> password in IIS at the default website. If i restart IIS, it will run
> fine for ~ 24 hours, then it will begin to give the 401 "you are not
> authorized blah blah blah.
>
> It's just weird that restarting IIS every time fixes it, but i'm
> looking for the long term solution.
>
> Thanks in advance for all your help!!!!


Perhaps you have configured the IUSR (or its group) to require logon
every 24 hours. IIS caches the anonymous user token because user login
is expensive, and restarting IIS causes it to re-login and cache the
anonymous user credential again.

This would result in behavior similar to what you describe.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//