Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2007

Tip: Looking for answers? Try searching our database.

Application_Start not firing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Ricketts - 26 Jun 2007 14:13 GMT
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
Steve Ricketts - 27 Jun 2007 13:59 GMT
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

>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
[quoted text clipped - 22 lines]
>
> Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.