« Previous Next »

Thread: very wierd stacktrace from IIS 7

Last post 01-09-2009 12:45 AM by henrikja. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 01-08-2009, 4:22 AM

    • henrikja
    • Not Ranked
    • Joined on 01-08-2009, 4:14 AM
    • Posts 2

    very wierd stacktrace from IIS 7

    Hello IIS forum users, I have a very weird problem with my application, i just migrated from a win 2k3 server to win 2k8.. Nice environment, BUT.. the fun stopped when i copied my old web applications to the server, my main page is working perfect, but have a bug tracking system running on the page too.. where on the IIS 6 i but it into the apppool and worked like a charm, but now, when i copied the same file structure to my new server, and giving the same permissions, put it into it's own app pool again... it gives me this stactrace error... : [HttpException (0x80004005): Request is not available in this context] System.Web.HttpContext.get_Request() +8785536 btnet.Util.write_to_log(String s) in d:\www1\wwwroot\bugtracker\App_Code\util.cs:114 btnet.Util.set_context(HttpContext asp_net_context) in d:\www1\wwwroot\bugtracker\App_Code\util.cs:52 ASP.global_asax.Application_OnStart(Object sender, EventArgs e) in d:\www1\wwwroot\bugtracker\Global.asax:131 [HttpException (0x80004005): Request is not available in this context] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2721662 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295 System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231 [HttpException (0x80004005): Request is not available in this context] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8886319 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333 i talked to my hosting provider, and they are a bit new to win 2k8, and they didn't know either.. so can someone try enlighten me? regards Henrik
  • 01-08-2009, 7:07 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: very wierd stacktrace from IIS 7

    Hi,

    This blog post has answer to your problem.

    Thanks,
    Kanwal

    Follow me on twitter at http://twitter.com/kjsingla
  • 01-09-2009, 12:45 AM In reply to

    • henrikja
    • Not Ranked
    • Joined on 01-08-2009, 4:14 AM
    • Posts 2

    Re: very wierd stacktrace from IIS 7

     Hi Kanwal,

    Thanks a lot, now my app is running..

     Regards
     Henrik Jacobsen

Page 1 of 1 (3 items)
Microsoft Communities