Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Application_Start not firing (http://www.go4expert.com/forums/applicationstart-not-firing-t10631/)

sebastian3 15May2008 15:14

Application_Start not firing
 
Application_Start is not firing in global.asax. Can any1 tell me what may be reason or under conditions does it fire

dotnetexpert 16May2008 16:35

Re: Application_Start not firing
 
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 16May2008 18:00

Re: Application_Start not firing
 
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 17May2008 13:17

Re: Application_Start not firing
 
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.


All times are GMT +5.5. The time now is 11:07.