I had the same problem accessing my IIS default page.

I renamed the global.asa file, and now it works.

I think I need to learn more about IIS. :/


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Re: Thanks! by George

George
Sat Oct 02 20:23:43 CDT 2004

global.asa works like this. There are two types of startup conditions =
for you IIS server. There is what is called Application startup and =
Session startup. The first occurs when your server has started and =
there is a first request to an ASP in one of your Web Applicatrions. =
The default Website in Windows 2000 is by default a Application. You =
have others by default but lets consider the default Web site first.

A request comes into your default website for an ASP. global asa gets =
notification of that and sets some application variables. You see that =
in global.asa as:

<SCRIPT LANGUAGE=3DVBScript RUNAT=3DServer>
Sub Application_OnStart
'.............
End Sub
'........
</SCRIPT>

So whatever you have in there starts as soon as a request is made to an =
ASP in the application. The global.asa sits on the root of the =
application. That sub is never called again until you shut down the =
server, restart it, and a request is made to an ASP in the application.

There is also a:

Sub Application_OnEnd
'..........
End Sub

and that occurs when you shut down the Server. That is usually empty. =
I have yet to see a valid reason for putting anything in that.

Now for session. Each user who accesses an ASP gets a session. In =
global.asa in that application a session will start and she does this:

Sub Session_OnStart
'....
End Sub

In here quite a lot can occur. But remember this occurs for every =
request to an ASP. And of course we have:

Sub Session_OnEnd
'..........
End Sub

These are really all that is necessary in global.asa unless you are =
using Microsoft FrontPage Extensions. Then you will have:

Sub FrontPage_StartSession
'.......
End Sub

and others. It is the above one which allows you to shut off the server =
restart it and still have a working FP counter.

This is just a cursory explanation of global.asa but hopefully sheds =
some light on it for you.

--=20
George Hester
__________________________________
"Robert Dunnill" <rdunnill@dvd-b.com> wrote in message =
news:#8BNovLqEHA.3988@tk2msftngp13.phx.gbl...
> I had the same problem accessing my IIS default page.
>=20
> I renamed the global.asa file, and now it works.
>=20
> I think I need to learn more about IIS. :/
>=20
>=20
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!