Das bin ich jetzt für eine Weile stört ist:Konnte Datei oder Assembly ‚app_code‘ oder eine ihrer Abhängigkeiten laden
Could not load file or assembly 'app_code' or one of its dependencies.
The system cannot find the file specified.
ich Visual Studio 2008 und IIS6 bin mit und aus irgendeinem Grund bekomme ich diese seltsamer Fehler.
Warum versucht es, 'app_code' zu laden, und warum schlägt es fehl?
versucht, es zu lösen/erfahren Sie mehr die Informationen in der Ausnahme mit
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].
Aber das half nicht, genauso wenig wie die Informationen in der MSDN-Artikel über die Assembly Binding Log Viewer: (http://msdn.microsoft.com/en-us/library/e74a18c4.aspx)
Jeder kann ein Licht auf diese Abscheulichkeit werfen? Ich schätze, das ist ein Anfängerfehler, aber ich habe keine Ahnung, wo ich jetzt hinschauen soll. Könnte es sich um ein IIS 6.0-Konfigurationsproblem handeln? Ich verwende Windows XP Professional Edition und Visual Studio 2008.
Nachdem sich die Versammlung überwachen Bindung, spuckt es aus so etwas wie:
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.
Ich habe vergessen, die wir verwenden getrennte Bibliotheken für den Code zu erwähnen, anstatt usnig den Ordner App_Code. Der App_Code-Ordner ist in meinem Projekt leer. – Andreas
Die Lösung besteht auch aus einer Untersite, die mit MVC gebaut wird, so ist es eine gemischte asp.net reguläre Formen und asp.net mvc. – Andreas