Re: IIS 5.0 password protected website problem
From: Tom Kaminski [MVP] ((A_at_T))
Date: Thu, 4 Sep 2003 09:12:16 -0400
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> "Steve Holland" <email@example.com> wrote in message
> > Hi all,
> > We are experiencing a strange problem with all websites we password
> > We have a win2k/IIS5 server which we host test versions of websites we
> > develop. All of the sites are password protected, using folder security.
> > removed IUSR account and added a locally created user, in IIS, on the
> > 'Directory Security' tab of properties, we click 'anonymous access and
> > authentication control', in here 'Anonymous Access' and 'Basic
> > Authentication' are the only two options checked (not all of our users
> > IE). This all works fine, users browses to page, asked to login, enter
> > correct details, in they go. The problem which we have is that the
> > is written in ASP and uses a global.asa to provide some Application
> > variables, namely the database connection string. What seems to happen
> > that intermittently these variables seem to disappear from memory, thus
> > breaking the site (can't connect to db). This problem only occurs on
> > websites which are password protected. The exact same website located on
> > development server or on the live server never suffers from this
> > have tried password-protecting websites on other servers and the same
> > problem occurs so its not a problem with the machine itself.
> > I've never seen this problem before (it didn't seem to happen on
> > It's either a problem with the way we are setting up the password
> > protecting, or its a MS bug, either way its causing us a lot of problems
> > we'd like to fix it one way or another. If any out there has seen this
> > before and knows a fix, or a better way of password-protecting sites I'd
> > very happy to hear from you.
> You're not crazy - I've seen the same exact thing happen and have never
> received an explanation from MS. It was happening quite a bit about 8
> months ago and I got it to stop but I can't remember what I did to fix it.
> Coincidentally, it just happened on a different web the other day. I
> global.asa and made a minor insignificant change (added a space char
> somewhere) and it's been working the rest of the week.
After reviewing my notes - are you using the local IWAM account or have you
switched to a domain account?
Is this kind of what you're seeing?
-- Tom Kaminski IIS MVP http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://mvp.support.microsoft.com/ http://www.microsoft.com/windowsserver2003/community/centers/iis/