Try our conversational search powered by Generative AI!

Weird eroor message on some pages

Vote:
 
All of the sudden I got this error message on some pages (episerver based searchpage and login, and one of our own pages). The error is as follows: Could not load file or assembly 'App_Web_ahirlwk7, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'App_Web_ahirlwk7, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Source Error: The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ page language="C#" debug="true" %> or: 2) Add the following section to the configuration file of your application: Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. Stack Trace: [FileNotFoundException: Could not load file or assembly 'App_Web_ahirlwk7, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.] ASP.templates_public_units_static_secondarycontent_ascx.__BuildControlTree(templates_public_units_static_secondarycontent_ascx __ctrl) +0 ASP.templates_public_units_static_secondarycontent_ascx.FrameworkInitialize() +34 System.Web.UI.UserControl.InitializeAsUserControlInternal() +31 System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlelmSecondaryContent() +52 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlcphRightContent() +159 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlcphAllContent() +321 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlMainForm() +223 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlHtmlElement() +96 ASP.templates_public_masterpages_elmiamaster_master.__BuildControlTree(templates_public_masterpages_elmiamaster_master __ctrl) +49 ASP.templates_public_masterpages_elmiamaster_master.FrameworkInitialize() +19 System.Web.UI.UserControl.InitializeAsUserControlInternal() +31 System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +2025712 System.Web.UI.Page.get_Master() +48 System.Web.UI.Page.ApplyMasterPage() +18 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
#16014
Feb 28, 2008 8:40
Vote:
 
Hi Tobias! The assembly 'App_Web_ahirlwk7 is (as you probably know) generated by the ASP.NET framework when it compiled some part of your site. It is almost impossible to guess whats wrong from the information you have provided. As the error message indicated the assembly could be corrupt or missing - in that it can help by cleaning you temporary folder: 1) Shut down the IIS service and close Visual Studio. 2) And then delete all files under "Temporary ASP.NET Files" in windows folder. It is also possible that you have gotten issues with assembly bindings. Read my blog post for more details: http://blog.fredrikhaglund.se/blog/2008/02/23/get-control-over-your-assembly-dependencies/ - Get control over your assembly dependencies Kind regards, Fredrik Haglund, INEXOR AB - http://blog.fredrikhaglund.se
#16809
Feb 28, 2008 9:40
Vote:
 
A restart hepled and thanks for the link. sure to look it over
#16810
Feb 28, 2008 11:48
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.