Application_Start not firing

Newbie Member
15May2008,15:14   #1
sebastian3's Avatar
Application_Start is not firing in global.asax. Can any1 tell me what may be reason or under conditions does it fire
Light Poster
16May2008,16:35   #2
dotnetexpert's Avatar
Some times this may be the case when you use http handlers.

can you please explain the exact senario of your webapplication structure ?
also i would like to know the hosting enviornment.
Newbie Member
16May2008,18:00   #3
sebastian3's Avatar
m using vs2005/.net 2.0 and sql server2000. I just want to see whether it gets into application_start so that i can put some code.I m putting breakpoint in debug mode. But its not entering.
Light Poster
17May2008,13:17   #4
dotnetexpert's Avatar
Quote:
Originally Posted by sebastian3
m using vs2005/.net 2.0 and sql server2000. I just want to see whether it gets into application_start so that i can put some code.I m putting breakpoint in debug mode. But its not entering.
when you set break point in global.asax, is there any error message comming when you mouse hover on brekpoint sign while debugging ?

there may be the case that application is not compiled properly, and it's no hitting the breakpoint.

try this out if that is the case.

1) close vs 2005

2) reset IIS

3) remove all files from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\[Your Application Name]

4) rebuild your solution and try to debug again.