473,232 Members | 1,658 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,232 software developers and data experts.

Application_Start 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_Start 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 1941
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_Start 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******@discussions.microsoft.com> wrote in message news:43**********************************@microsof t.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_Start 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******@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.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_Start 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_start 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_Start 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
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...
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...
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...
1
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.