all groups > dotnet web services > june 2007 >
You're in the

dotnet web services

group:

Application_Start not firing



Application_Start not firing Steve Ricketts
6/26/2007 9:13:41 AM
dotnet web services: I have a web service written in VB 2003 .Net that I've put on a number of
different servers an OS's, 2003 and 2000. Application_Start sets up a
number of variables used by the various functions in the application.

I just put the application on a 2000 server and found that it's not firing
the Application_Start event. I thought it might be something in the
procedure itself so I set a global variable to true on the first line of
Application_Start. When I check the variable its still false.

Everything appears to be fine. You can enter http://host/net/service1.asmx
and the service page appears normal. You can even enter values in the
service page and it tries to run them (doesn't work of course because the
necessary variables haven't been set).

I've given write access at the file level as well as in Internet Services
Manager. I've created an application at the root, and at the application's
root. Like I say, I've done this a number of times without problem and
can't figure out what the difference is here.

Can anyone give me an idea of what kinds of things would cause the
Application_Start event not to fire?

Thanks for any direction you can provide... I'll try anything at this point.

Steve

Resolved: Re: Application_Start not firing Steve Ricketts
6/27/2007 8:59:57 AM
Ok, I'm an idiot... I somehow neglected copying the Global.asmx over to the
new server (must have looked at the directory 100 times!). Amazing what one
file being present can do.

Steve

[quoted text, click to view]

AddThis Social Bookmark Button