473,909 Members | 5,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application_Sta rt not firing

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_Sta rt event does not seem to fire, which is a problem because
there are variables there that need to be set. I have other web apps on this
same machine that work great. The remote mahcine is running win 2k3 asp.net
1.1 sp1 IIS 6, the local is running Win Xp sp2 asp.net 1.1 iis 5. Thanks.
Nov 19 '05 #1
4 1975
Is the directory where you're uploading the files configured as its own application
in IIS?

-Brock
DevelopMentor
http://staff.develop.com/ballen
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_Sta rt event does not seem to fire, which is a
problem because there are variables there that need to be set. I have
other web apps on this same machine that work great. The remote
mahcine is running win 2k3 asp.net 1.1 sp1 IIS 6, the local is running
Win Xp sp2 asp.net 1.1 iis 5. Thanks.

Nov 19 '05 #2
You need to configure the folder as an Application in IIS Management console.
If you do not have access to it then your Host should provide a way to do so in Control Panel or over the phone

George
"Hesstech" <He******@discu ssions.microsof t.com> wrote in message news:43******** *************** ***********@mic rosoft.com...
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_Sta rt event does not seem to fire, which is a problem because
there are variables there that need to be set. I have other web apps on this
same machine that work great. The remote mahcine is running win 2k3 asp.net
1.1 sp1 IIS 6, the local is running Win Xp sp2 asp.net 1.1 iis 5. Thanks.
Nov 19 '05 #3
That's not possible. If you can access your web application, it necessarily
implies that the application event fired.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Hesstech" <He******@discu ssions.microsof t.com> wrote in message
news:43******** *************** ***********@mic rosoft.com...
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_Sta rt event does not seem to fire, which is a problem because
there are variables there that need to be set. I have other web apps on this same machine that work great. The remote mahcine is running win 2k3 asp.net 1.1 sp1 IIS 6, the local is running Win Xp sp2 asp.net 1.1 iis 5. Thanks.

Nov 19 '05 #4
Figured it out, I forgot to copy over the global.asax file to the remote
server, that is why none of the code in the application_sta rt event was
running.

"Hesstech" wrote:
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_Sta rt event does not seem to fire, which is a problem because
there are variables there that need to be set. I have other web apps on this
same machine that work great. The remote mahcine is running win 2k3 asp.net
1.1 sp1 IIS 6, the local is running Win Xp sp2 asp.net 1.1 iis 5. Thanks.

Nov 19 '05 #5

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

Similar topics

4
11971
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 that prevents this from happening? I've never gotten Session_End to fire either. -M
7
2474
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 firing. I have double-checked everything (and rechecked) and I haven't found anything that would explain why the Application is not starting. Here is what I have done so far to troubleshoot this: In IIS Manager I have ensured that there is a...
0
2120
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 network cards in each machine. Machine keys are identical on both webservers. There is no anti-virus software installed. SQL Server database is storing session information as specified by Microsoft guidelines.
6
2231
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 2003 asp,net project. The first think I noticed is that in the 2003 project, there's a global.asax and a global.asax.vb file, with the code being in the latter. Since the 2005 project had a routine directly in the global.asax file, I moved it to...
1
3047
by: Steve Ricketts | last post by:
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...
0
10037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11348
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11052
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6140
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.