Re: IIS 5.0 password protected website problem
From: Steve Holland (holland_s_at_hotmail.com)
Date: Thu, 4 Sep 2003 16:19:17 +0100
Yep, thats more or less it, it is Aplication variables in ours, rather than
Session variables, but I'm guessing its the same issue. I'll give anon
access to global.asa and see if this fixes it. Thanks for the pointers.
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
> > "Steve Holland" <email@example.com> wrote in message
> > news:eTPbkNscDHA.456@TK2MSFTNGP10.phx.gbl...
> > > Hi all,
> > >
> > > We are experiencing a strange problem with all websites we password
> > protect.
> > > We have a win2k/IIS5 server which we host test versions of websites we
> > > develop. All of the sites are password protected, using folder
> > We
> > > 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,
> > > breaking the site (can't connect to db). This problem only occurs on
> > > websites which are password protected. The exact same website located
> > > development server or on the live server never suffers from this
> > We
> > > 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
> > and
> > > 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
> > be
> > > 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
> > 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
> 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