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)