471,306 Members | 867 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 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 1882
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Gordon Smith | last post: by
6 posts views Thread by Joe Befumo | last post: by
1 post views Thread by Steve Ricketts | last post: by

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.