Could not load file or assembly 'ScriptReferenceProfiler' or one of its dependencies. The system cannot find the file specified.
運行應用程序時出現分析器錯誤
運行應用程序後出現此錯誤。可能的問題是什麼? 我正在使用Visual Studio 2008,.NET 3.5 sp1 for C#。
*生成後的ASP.NET應用程序調試。
**大會負荷跟蹤
=== Pre-bind state information === LOG: User = ORG-FA431C61BE1\ahsan LOG: DisplayName = ScriptReferenceProfiler (Partial) LOG: Appbase = file:///C:/Documents and Settings/My Documents/Visual Studio 2008/myproj/myproj/ LOG: Initial PrivatePath = C:\Documents and Settings\My Documents\Visual Studio 2008\myproj\myproj\bin Calling assembly : (Unknown).
LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\My Documents\Visual Studio 2008\myproj\myproj\web.config LOG: Using machine configuration file from C:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: The same bind was seen before, and was failed with hr = 0x80070002.
您需要提供更多信息才能得到答案。它*非常*模糊。 – casperOne 2011-05-01 20:10:21
可能不會爲ScriptReferenceProfiler添加引用。檢查他們。如果運行意味着執行exe文件,該文件必須已經存在。如果你只是複製exe,複製DLL的 – 2011-05-01 20:10:23
這是當我成功構建後調試。 – gandalfish 2011-05-01 20:12:24