をロードできませんでした:これは今しばらくの間、私を悩ませてきたファイルまたはアセンブリ「にApp_Code」またはその依存関係の1つ
Could not load file or assembly 'app_code' or one of its dependencies.
The system cannot find the file specified.
私は、Visual Studio 2008およびIIS6を使用して、私はこれを取得何らかの理由です奇妙なエラー。
なぜ「app_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].
に情報を使用して見つけることを試みていない。しかし、それは助けにはならなかった、どちらもアセンブリバインディングログビューアについてのMSDNの資料の情報をした:(http://msdn.microsoft.com/en-us/library/e74a18c4.aspxを)
誰でもこの忌み嫌いを照らすことができますか?私はこれは初心者の間違いだと思っていますが、私は今どこを見てもわかりません。 IIS 6.0の設定に問題はありますか?これは、暗闇の中でただ刺しですが、
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.
私たちは、コードのために別々のライブラリを使用するのではなく、App_Codeフォルダーをusnigている言及を忘れてしまいました。私のプロジェクトでは、App_Codeフォルダは空です。 – Andreas
このソリューションは、MVCを使用して構築されたサブサイトで構成されています。そのため、asp.netの標準形式とasp.net mvcが混在しています。 – Andreas