Note that there are some explanatory texts on larger screens.

plurals
  1. POCould not load file or assembly 'app_code' or one of its dependencies
    primarykey
    data
    text
    <p>This has been bothering me for a while now: </p> <pre><code>Could not load file or assembly 'app_code' or one of its dependencies. The system cannot find the file specified. </code></pre> <p>I'm using visual studio 2008 and IIS6 and for some reason I get this weird error. </p> <p>Why is it trying to load 'app_code', and why does it fail?</p> <p>Tried to resolve it/ find out more using the information in the exception</p> <pre><code>WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. </code></pre> <p>But that didn't help, neither did the information in the msdn article about the Assembly Binding Log Viewer: (<a href="http://msdn.microsoft.com/en-us/library/e74a18c4.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/e74a18c4.aspx</a>)</p> <p>Anyone can shine a light on this abomination? I'm guessing this is a newbie mistake but I have no idea where to look now. Could it be IIS 6.0 configuration issue? I am using Windows XP Professional Edition and Visual Studio 2008.</p> <hr> <p>After getting the Assembly binding monitor up, it spews out something like:</p> <pre><code>LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Projects\NNNNNN\src\Trunc\Web\web.config LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: Microsoft.VisualStudio.Web, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a LOG: GAC Lookup was unsuccessful. LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/d94fb3b9/d76068ec/Microsoft.VisualStudio.Web.DLL. LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/d94fb3b9/d76068ec/Microsoft.VisualStudio.Web/Microsoft.VisualStudio.Web.DLL. LOG: Attempting download of new URL file:///C:/Projects/NNNNNN/src/Trunc/Web/bin/Microsoft.VisualStudio.Web.DLL. LOG: Attempting download of new URL file:///C:/Projects/NNNNNN/src/Trunc/Web/bin/Microsoft.VisualStudio.Web/Microsoft.VisualStudio.Web.DLL. LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/d94fb3b9/d76068ec/Microsoft.VisualStudio.Web.EXE. LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/d94fb3b9/d76068ec/Microsoft.VisualStudio.Web/Microsoft.VisualStudio.Web.EXE. LOG: Attempting download of new URL file:///C:/Projects/NNNNNN/src/Trunc/Web/bin/Microsoft.VisualStudio.Web.EXE. LOG: Attempting download of new URL file:///C:/Projects/NNNNNN/src/Trunc/Web/bin/Microsoft.VisualStudio.Web/Microsoft.VisualStudio.Web.EXE. LOG: All probing URLs attempted and failed. </code></pre>
    singulars
    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.
 

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