Avatar of web_ohh
web_ohh

asked on 

Possible Temporary ASP.NET File" Corruption

I had an issue come up where when users would click some links on our website, an error would be thrown.
The error logs were showing a file not found exception, but all of the web files were in the web root as they should be.  I deleted the "temporary asp.net files" folder and lo' and behold, everything was fine.

My question is, considering the ASP.NET worker process has an exclusive lock on that folder, how could a file go missing from there?

My logs show the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'App_Web_dgvbbrsj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'App_Web_dgvbbrsj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   at ASP.expertise_ascx.__BuildControlTree(expertise_ascx __ctrl)
   at ASP.expertise_ascx.FrameworkInitialize()
   at System.Web.UI.UserControl.InitializeAsUserControlInternal()
   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
   at ASP.expertise_insolv_aspx.__BuildControlExpertise1() in http://server/expertise_insolv.aspx:line 19
   at ASP.expertise_insolv_aspx.__BuildControlexpertise() in http://server/expertise_insolv.aspx:line 18
   at ASP.expertise_insolv_aspx.__BuildControlTree(expertise_insolv_aspx __ctrl) in http://server/expertise_insolv.aspx:line 1
   at ASP.expertise_insolv_aspx.FrameworkInitialize() in http://server/expertise_insolv.aspx.cs:line 912307
   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.expertise_insolv_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\dde0109c\613d36b5\App_Web_hc19yeoh.102.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
.NET ProgrammingASP.NETC#

Avatar of undefined
Last Comment
web_ohh

8/22/2022 - Mon