Note that there are some explanatory texts on larger screens.

plurals
  1. POApp_Code Load Error in WebApp
    primarykey
    data
    text
    <p>Earlier this week, recent deployments of our ASP.NET 2.0 web application started to throw the following error at unpredictable (not easily reproducible) times:</p> <blockquote> <p><strong>Parser Error</strong></p> <p><strong>Description</strong>: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.</p> <p><strong>Parser Error Message</strong>: Could not load file or assembly 'App_Code, Version=2.5.0.0, Culture=en-US, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.</p> <p><strong>Source Error</strong>:</p> <pre><code>Line 1: &lt;%@ page language="c#" inherits="OurAppNamespace.Migrated_Index, App_Web_01zualsq" validaterequest="false" maxPageStateFieldLength="500" %&gt; Line 2: Line 3: &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &gt; </code></pre> </blockquote> <p>Once a deployment starts throwing this error, it doesn't stop until we re-deploy or modify the Web.Config file. Needless to say, we have checked repeatedly and verified that <code>App_Code.dll</code>, version 2.5.0.0, is in the <code>bin</code> directory and has valid permissions.</p> <p>We haven't made any major changes recently, and we've not made any configuration changes, so I am a bit at a loss as to how this issue arose. The cause listed in the error cannot be the problem, because the file exists. I am used to having permissions issues that result in similar errors, but changing file permissions only fixes it temporarily.</p> <p>What is the actual root cause of this error, and how can we fix it?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload