Application_Start not firing

Discussion in 'ASP' started by sebastian3, May 15, 2008.

  1. sebastian3

    sebastian3 New Member

    Joined:
    May 15, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Application_Start is not firing in global.asax. Can any1 tell me what may be reason or under conditions does it fire
     
  2. dotnetexpert

    dotnetexpert New Member

    Joined:
    May 16, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  3. sebastian3

    sebastian3 New Member

    Joined:
    May 15, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  4. dotnetexpert

    dotnetexpert New Member

    Joined:
    May 16, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    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\Temporary ASP.NET Files\[Your Application Name]

    4) rebuild your solution and try to debug again.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice