Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2010 02:32 PM by efess
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:
########## 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.
at ASP.modules_viewheader_ascx.__BuildControlTree(modules_viewheader_ascx __ctrl)
at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
at ASP.managereservation_aspx.__BuildControlTree(managereservation_aspx __ctrl)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
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.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
May 01, 2006 12:24 PM|LINK
You might want to call us and get hotfix 915782. It may resolve this issue. Here's the article:
May 15, 2006 05:37 PM|LINK
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.
May 18, 2006 07:53 PM|LINK
May 18, 2006 08:35 PM|LINK
I too an running into this but with an IBM product.
System.IO.FileNotFoundException: Could not load file or assembly 'IBM.Data.DB2, Version=126.96.36.199, 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.
May 18, 2006 09:55 PM|LINK
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.
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.
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.
May 22, 2006 06:02 AM|LINK
Are you using a compiled version or you are just letting ASP.NET to compile?