Application_Start not firing

sebastian3's Avatar, Join Date: May 2008
Newbie Member
Application_Start is not firing in global.asax. Can any1 tell me what may be reason or under conditions does it fire
dotnetexpert's Avatar
Light Poster
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.
sebastian3's Avatar, Join Date: May 2008
Newbie Member
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.
dotnetexpert's Avatar
Light Poster
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.