Could not load file or assembly 'App_Web_c4z8pqdo, RRS feed

  • Question

  • User260983704 posted

     Hi, I'm on ASP.NET 2.0 and using Web Deployment Project to build assemblies by folder. I have been using these just fine and all of the sudden I've started receiving this error.

    Could not load file or assembly 'App_Web_c4z8pqdo, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    Exception type 'System.IO.FileNotFoundException' was caught.
    Source: App_Web_zkh13vfe
    Target Site: Void __BuildControlTree(ASP.artists_controls_artistheader_ascx)
    Stack Trace:
    at ASP.artists_controls_artistheader_ascx.__BuildControlTree(artists_controls_artistheader_ascx __ctrl)
    at ASP.artists_controls_artistheader_ascx.FrameworkInitialize()
    at System.Web.UI.UserControl.InitializeAsUserControlInternal()
    at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
    at ASP._artists_artist_master.__BuildControlctlArtistHeader()
    at ASP._artists_artist_master.__BuildControlctlContent(Control __ctrl)
    at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
    at ASP.master_myApp_master.__BuildControlMainContent()
    at ASP.master_myApp_master.__BuildControlform1()
    at ASP.master_myApp_master.__BuildControlBody()
    at ASP.master_myApp_master.__BuildControlTree(master_myApp_master __ctrl)
    at ASP.master_myApp_master.FrameworkInitialize()
    at System.Web.UI.UserControl.InitializeAsUserControlInternal()
    at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
    at System.Web.UI.MasterPage.get_Master()
    at System.Web.UI.MasterPage.ApplyMasterRecursive(MasterPage master, IList appliedMasterFilePaths)
    at System.Web.UI.Page.ApplyMasterPage()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    The app has been working fine and there are not any errors on the page or control. App_Web_c4z8pqdo may have been the name of the assembly before WDP ran and merged the assemblies into folder specific names, but now the assembly is called Artists.Controls.dll. It shows FileNotFoundException, but the file is certainly there.

     As soon as I copy over the exact same assemblies (without even rebuilding) into the live bin folder, everything starts working again just fine.  Could the dll files be getting corrupt on that particular folder/file? Why doesn't it reference the name of the assembly as it is?

    Tuesday, December 2, 2008 5:52 PM


  • User372121194 posted


    It seems that your website uses older assembly. If we use Web Deployment project with prefix, the name of assembly should not contain random name (c4z8pqdo).

    So we can try to delete the template folder in local ("C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files").


    I look forward to hearing from you.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 5, 2008 3:23 AM