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