Every now and then one or more .Net 2 production apps are coming up with the error "Could not load file or assembly 'App_Web...". The app works fine up until that point....and then it breaks and the only solution seems to be to recompile.
Somehow it seems like it be occurring when the application has recycled and .Net recompiles to it's temp files. These are apps created using the WAP project model.
Any insight as to why this might be occurring would be appreciated.
Could not load file or assembly 'App_Web_9olwzuwu, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Stack
at ASP.modules_viewheader_ascx.__BuildControlTree(modules_viewheader_ascx __ctrl)
at ASP.modules_viewheader_ascx.FrameworkInitialize()
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
at ASP.managereservation_aspx.__BuildControlViewHeader1()
at ASP.managereservation_aspx.__BuildControlForm1()
at ASP.managereservation_aspx.__BuildControlTree(managereservation_aspx __ctrl)
at ASP.managereservation_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.managereservation_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Haven't tried the hotfix. The problem description in the kb article doesn't not match up with this issue...and I'm somewhat reluctant to try a seemingly unrelated hotfix in hopes that it will resolve this issue.
I'm also experiencing the same issue - and I too am relectant to try the hotfix cause it doesn't seem to be related. Anyone tried the hotfix and did it fix the problem? The workaround solution of editing the file that is causing the error does work - but
I'm not really excited about having to watch for the error to apply the workaround everytime it happens.
I too an running into this but with an IBM product.
System.IO.FileNotFoundException: Could not load file or assembly 'IBM.Data.DB2, Version=8.1.2.1, Culture=neutral, PublicKeyToken=7c307b91aa13d208' or one of its dependencies. The system cannot find the file specified.
at blah blah blah()
What is weird is that I'm using the same assembly elsewhere with no problems.
I am also facing the same issue. I deployed the hotfix into dev server. Issue still exists. So don't deploy the hotfix. It is not going to fix this issue.
I also opened a ticket with microsoft yesterday. Now I am waiting for my system to crash. I need to take dumps to send it to microsoft. Does anyone know how to reproduce this issue?. For us it happends suddenly.
Did get the solution to this problem? This is constantly happening to our applications, in the development enviroment and the production enviroment....
Someone PLEASE let me know if there is a fix to the problem.
BradW
Member
157 Points
41 Posts
Could not load file or assembly App_Web...
Apr 28, 2006 05:15 PM|LINK
Every now and then one or more .Net 2 production apps are coming up with the error "Could not load file or assembly 'App_Web...". The app works fine up until that point....and then it breaks and the only solution seems to be to recompile. Somehow it seems like it be occurring when the application has recycled and .Net recompiles to it's temp files. These are apps created using the WAP project model.
Any insight as to why this might be occurring would be appreciated.
Full error below:
Exception messages
########## System.IO.FileNotFoundException ##########
Could not load file or assembly 'App_Web_9olwzuwu, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Stack
at ASP.modules_viewheader_ascx.__BuildControlTree(modules_viewheader_ascx __ctrl)
at ASP.modules_viewheader_ascx.FrameworkInitialize()
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
at ASP.managereservation_aspx.__BuildControlViewHeader1()
at ASP.managereservation_aspx.__BuildControlForm1()
at ASP.managereservation_aspx.__BuildControlTree(managereservation_aspx __ctrl)
at ASP.managereservation_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.managereservation_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
JamesChe
Member
137 Points
28 Posts
Re: Could not load file or assembly App_Web...
May 01, 2006 12:24 PM|LINK
Brad,
You might want to call us and get hotfix 915782. It may resolve this issue. Here's the article:
http://support.microsoft.com/kb/915782/en-us
Senior Escalation Engineer
ASP.NET Critical Problem Resolution Team
Microsoft Corporation
lieblick
Member
32 Points
7 Posts
Re: Could not load file or assembly App_Web...
May 15, 2006 05:37 PM|LINK
BradW
Member
157 Points
41 Posts
Re: Could not load file or assembly App_Web...
May 15, 2006 05:48 PM|LINK
Haven't tried the hotfix. The problem description in the kb article doesn't not match up with this issue...and I'm somewhat reluctant to try a seemingly unrelated hotfix in hopes that it will resolve this issue.
fivetools
Member
12 Points
3 Posts
Re: Could not load file or assembly App_Web...
May 18, 2006 07:53 PM|LINK
Nifty
Member
5 Points
1 Post
Re: Could not load file or assembly App_Web...
May 18, 2006 08:35 PM|LINK
I too an running into this but with an IBM product.
mvijay
Member
5 Points
1 Post
Re: Could not load file or assembly App_Web...
May 18, 2006 09:55 PM|LINK
Hi
I am also facing the same issue. I deployed the hotfix into dev server. Issue still exists. So don't deploy the hotfix. It is not going to fix this issue.
I also opened a ticket with microsoft yesterday. Now I am waiting for my system to crash. I need to take dumps to send it to microsoft. Does anyone know how to reproduce this issue?. For us it happends suddenly.
Regards
mvijay
JamesChe
Member
137 Points
28 Posts
Re: Could not load file or assembly App_Web...
May 18, 2006 10:51 PM|LINK
Keep in mind that even though the hotfix didn't work for one person, it might fix it for another. :)
If anyone can provide an application that reproduces this for us, it would be tremendously helpful.
Senior Escalation Engineer
ASP.NET Critical Problem Resolution Team
Microsoft Corporation
donhrobjartz
Member
42 Points
9 Posts
Re: Could not load file or assembly App_Web...
May 21, 2006 09:05 PM|LINK
Did get the solution to this problem? This is constantly happening to our applications, in the development enviroment and the production enviroment....
Someone PLEASE let me know if there is a fix to the problem.
projyal
Member
15 Points
3 Posts
Re: Could not load file or assembly App_Web...
May 22, 2006 06:02 AM|LINK
Hi
Are you using a compiled version or you are just letting ASP.NET to compile?
regards
Projyal