Two days ago, I built an ASP.NET 2.0 application and published it on a
shared IIS 6 Web server. After publishing, and during the whole day, it
worked fine.
The server remained untouched since. Today, I wanted to access the home
page of the application again with a browser. But instead of the proper
page, I just got an ugly message:
Server Error in '/' Application.
Could not load file or assembly 'App_Web_rsznkz do, Version=0.0.0.0 ,
Culture=neutral , PublicKeyToken= null' or one of its dependencies. The
system cannot find the file specified.
the stack trace reads as follows:
[FileNotFoundExc eption: Could not load file or assembly
'App_Web_rsznkz do, Version=0.0.0.0 , Culture=neutral ,
PublicKeyToken= null' or one of its dependencies. The system cannot find
the file specified.]
ASP.usercontrol s_nav_ascx.__Bu ildControlTree( usercontrols_na v_ascx
__ctrl) +0
ASP.usercontrol s_nav_ascx.Fram eworkInitialize () +21
System.Web.UI.U serControl.Init ializeAsUserCon trolInternal() +31
System.Web.UI.U serControl.Init ializeAsUserCon trol(Page page) +14
ASP.catalog_mai n_aspx.__BuildC ontroln1() +53
ASP.catalog_mai n_aspx.__BuildC ontroll(Control __ctrl) +51
System.Web.UI.C ompiledTemplate Builder.Instant iateIn(Control
container) +12
ASP.masterpages _3col_master.__ BuildControll() +105
ASP.masterpages _3col_master.__ BuildControlf() +118
ASP.masterpages _3col_master.__ BuildControlTre e(masterpages_3 col_master
__ctrl) +136
ASP.masterpages _3col_master.Fr ameworkInitiali ze() +45
System.Web.UI.U serControl.Init ializeAsUserCon trolInternal() +31
System.Web.UI.M asterPage.Creat eMaster(Templat eControl owner,
HttpContext context, VirtualPath masterPageFile, IDictionary
contentTemplate Collection) +1978544
System.Web.UI.P age.get_Master( ) +48
System.Web.UI.P age.ApplyMaster Page() +18
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
+543
Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET Version:2.0.507 27.42
It seems to me like somehow ASP.NET disposed the generated assemblies
in the meantime. Please notice that this application was published by
XCOPY over FTP, that means it is not a precompiled app or something
like this.
How can that happen? I know that I could probably resolve the problem
with restarting IIS, but since I am not the ISP hosting this site, it
is not in my power. Anyway, I think this is a real bug, since I cannot
tell my ISP to just restart the IIS process every now and then. Does
anyone has an idea what is happening here?
Thanks for any help
Urs