473,395 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Application_Start not firing

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
Jun 26 '07 #1
1 2952
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

"Steve Ricketts" <Ve*******@hotmail.comwrote in message
news:OY**************@TK2MSFTNGP05.phx.gbl...
>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

Jun 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Max | last post by:
I've noticed some procedures don't run in the global.asax when you'd expect them to. I've rebuilt and set break points, but Application_Start just isn't firing today. Is there some configuration...
2
by: barak | last post by:
Hi. I noticed that when I change the timeout of the session in web.config, the event application_start in global.asax is raise, although I make no compilation. is it normal? is there a way to...
2
by: paulo | last post by:
I have an asp.net app on 3 webservers (all same platform). The apps make extensive use of Application variables. A problem is occuring on 1 app - I have itentified that application variables are...
7
by: Gordon Smith | last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows Server 2003 production server. 3 of them work fine. I just installed the 4th one and it's Application_Start event is not...
0
by: SeanGallavan | last post by:
Our Environment: Two network load balanced (using Microsoft NLB software) webservers with session maintained in a SQL Server database. NLB is configured with no affinity settings and two...
4
by: Hesstech | last post by:
I have a web app that was built on my local computer. Locally everythign works great, but when I put the app up on the remote server, the Application_Start event does not seem to fire, which is a...
6
by: Joe Befumo | last post by:
I just created the default personal site project in Visual Studio 2005, and it worked perfectly -- very nice. Next, I'd like to import some stat-capture code that I have working in a Visual Studio...
0
by: Ben Fidge | last post by:
Hi I recently converted a project to a Web Application Project and the Application_Start event no longer fires in my global.asax.cs file on our live Windows 2003 Server. It all works fine when...
18
by: Joey | last post by:
asp.net 2/C# I have noticed that during periods of inactivity on my website, the Application_Start event is firing about every 40-45 minutes. Is this normal? Shouldn't the app start once and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.