• 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 : Saturday, October 13, 2007 12:51:54 PM(UTC)
Coleen

Rank: Member

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

We're finally working on getting live. In the process as I review the event log I see this error pattern repeated. At that time it's throwing the error the site is down and requires moving/editing the web.config to get things to reset.


<SPAN style="FONT-SIZE: 9pt; COLOR: #333333; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Could not load file or assembly 'App_Web_shpnwabq, 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_pm2008_controls_header_ascx.__BuildControlTree(bvmodules_themes_pm2008_controls_header_ascx __ctrl) at ASP.bvmodules_themes_pm2008_controls_header_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.UserControl.InitializeAsUserControl(Page page) at ASP.bvmodules_themes_pm2008_home_master.__BuildControlHeader2() at ASP.bvmodules_themes_pm2008_home_master.__BuildControlform1() at ASP.bvmodules_themes_pm2008_home_master.__BuildControlTree(bvmodules_themes_pm2008_home_master __ctrl) at ASP.bvmodules_themes_pm2008_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) ]
Andy Miller
#2 Posted : Sunday, October 14, 2007 11:29:40 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Is this site running on your own server?
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
birdsafe
#3 Posted : Sunday, October 14, 2007 11:29:47 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Though I was seeing different error messages, my site was being brought down occasionally as well, and what we found was that I had other ASP.NET applications running on my site (Xigla apps for Live Help and Newsletter) and we believe that was causing a conflict. We moved the other apps to their own application pool and haven't seen the problem since.
Coleen
#4 Posted : Monday, October 15, 2007 9:01:25 AM(UTC)
Coleen

Rank: Member

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

Andy no this is a managed service and it's the only application being run on the server.
Coleen
#5 Posted : Monday, October 15, 2007 10:14:09 AM(UTC)
Coleen

Rank: Member

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

Since the error over the weekend it has not repeated. The only thing I did was move the web.config - attempt to load the site (triggering compile I think?) and then dropping the web.config back into place.

No errors since.
Andy Miller
#6 Posted : Monday, October 15, 2007 11:12:02 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: "C" Go to Quoted Post

Since the error over the weekend it has not repeated. The only thing I did was move the web.config - attempt to load the site (triggering compile I think?) and then dropping the web.config back into place.

No errors since.
Here's what I think happened...


When you copy DLL's to the bin directory of your web site, or change any files that automatically get compiled (*.aspx, *.ascx, *.asax, *.vb, *.cs, etc), ASP.NET will do some housekeeping. Part of that housekeeping involves making a copy of the affected assemblies in the Microsoft.NET Temporary Internet Files directory (which is were the DLL's are actually loaded from).



Those file changes will kick off any other process that is watching those directories as well, such as the Indexing Server and virus scanner.



If those other processes lock one of the assemblies that ASP.NET is trying to copy, or replace, or delete, ASP.NET will be unable to load the assembly and you will see a message just like the one you reported.



Making a change to web.config after some delay is one way to fix the problem. That change will cause ASP.NET to reload all of the assemblies, but without needing to copy them again. So it is usually successful, even if you have multiple processes fighting over the files.



If this is the problem, the long term solution is to disable indexing, virus scanning, etc. of the web site bin files and the Microsoft.NET Temporary Internet Files directory.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
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