• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Coleen
#1 Posted : Monday, November 19, 2007 2:55:51 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

[table id=ctl00_MainContent_gvEvents style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=5 border=0]
[tr ][td vAlign=top align=left]11/19/2007 2:45:32 PM
[/td][td vAlign=top align=left]App_Web_exnputrs[/td][td vAlign=top align=left]Could not load file or assembly 'App_Web_ehw9ghmv, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.[ at ASP.bvmodules_themes_pm2008g_controls_header_ascx.__BuildControlTree(bvmodules_themes_pm2008g_controls_header_ascx __ctrl) at ASP.bvmodules_themes_pm2008g_controls_header_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.UserControl.InitializeAsUserControl(Page page) at ASP.bvmodules_themes_pm2008g_home_master.__BuildControlHeader2() at ASP.bvmodules_themes_pm2008g_home_master.__BuildControlform1() at ASP.bvmodules_themes_pm2008g_home_master.__BuildControlTree(bvmodules_themes_pm2008g_home_master __ctrl) at ASP.bvmodules_themes_pm2008g_home_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.Page.get_Master() at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ][/td][/tr][/table]
jetheredge
#2 Posted : Monday, November 19, 2007 2:59:11 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

This is due to a compilation issue with asp.net, and is not due to our software. The quick fix is in the web.config on the compilation element to add a batch="false" attribute.

So, it will look like this:

<compilation debug="true" strict="true" explicit="true" batch="false">

then load the site up, and then switch it back (or remove the batch="false"). This will force your site to recompile, and it may slow it down until all pages have been compiled again. This will resolve your issue though.
Justin Etheredge
Senior Software Engineer
BVSoftware
Coleen
#3 Posted : Monday, November 19, 2007 3:29:29 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

In those circumstances as I have direct access via RDC I just move the web.config file out of the root, try to load the site, quickly cancel, and then put it back and it reloads fine. I'm not doing any potential harm am I? It seems that accomplishes the same goal.

Justin, can I just plop a generic error page in to replace that one without messing anything up? IE, just kick users to a static page outside of the application for these types of errors?

Thanks
jetheredge
#4 Posted : Monday, November 19, 2007 3:47:48 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Nope, you aren't doing any potential harm. What you are doing should basically do the same thing as what I was saying. It will just cause it to recompile.

And yes, you should be able to setup error redirects. You can do something similar to this:

<customErrors defaultRedirect="error.htm" mode="On" />
Justin Etheredge
Senior Software Engineer
BVSoftware
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012