Temporary assemblies getting removed?

Discussion in 'ASP.NET 2.0' started by JerSchneid, Dec 15, 2005.

  1. Hi Everyone,

    Since I have switched to ASP.Net 2.0 very occasionally (maybe once every two days) a page on my site starts crashing with the following error (or a similar one with the temp assembly name changed):

    Could not load file or assembly 'App_Web_q2zwonry, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    The exception is a System.IO.FileNotFoundException.

    I use the 'no compile' deployment which I believe means that each ASPX page compiles its own temporary assembly. I believe the error above is telling me that assembly is missing. However nothing seems to prompt this other than time. It happens when nothing unusual is going on at my site. I can easily fix it by re-uploading the .cs file associated with the now missing assembly, which must prompt .Net to rebuild the assembly.

    Is it possible that these assemblies are getting deleted or invalidated? Is anyone else experiencing this? And of course, the million dollar question: how do I fix it?

    Thanks,

    Jeremy
     

Share This Page