看不明白哪里配置出错了

咔啪咔啪 2012-03-09 11:02:18
Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件。

Source Error:


Line 82: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 83: <add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 84: <add assembly="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>Line 85: <add assembly="Microsoft.VisualStudio.QualityTools.Resource, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 86: <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

Source File: C:\Inetpub\wwwroot\Web\web.config Line: 84

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.


=== Pre-bind state information ===
LOG: User = PC-GAO\ASPNET
LOG: DisplayName = Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/Web/
LOG: Initial PrivatePath = C:\Inetpub\wwwroot\Web\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Inetpub\wwwroot\Web\web.config
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/abb090c1/1e3d6f12/Microsoft.VisualStudio.QualityTools.UnitTestFramework.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/abb090c1/1e3d6f12/Microsoft.VisualStudio.QualityTools.UnitTestFramework/Microsoft.VisualStudio.QualityTools.UnitTestFramework.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Web/bin/Microsoft.VisualStudio.QualityTools.UnitTestFramework.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Web/bin/Microsoft.VisualStudio.QualityTools.UnitTestFramework/Microsoft.VisualStudio.QualityTools.UnitTestFramework.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/abb090c1/1e3d6f12/Microsoft.VisualStudio.QualityTools.UnitTestFramework.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/abb090c1/1e3d6f12/Microsoft.VisualStudio.QualityTools.UnitTestFramework/Microsoft.VisualStudio.QualityTools.UnitTestFramework.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Web/bin/Microsoft.VisualStudio.QualityTools.UnitTestFramework.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Web/bin/Microsoft.VisualStudio.QualityTools.UnitTestFramework/Microsoft.VisualStudio.QualityTools.UnitTestFramework.EXE.


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634
...全文
155 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
蝶恋花雨 2012-03-09
  • 打赏
  • 举报
回复

1:bin obj 删除 重新编译。看参照引用。
2:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files下面东西清除。重新启动 asp.net state server 服务 和iis admin server .
hztltgg 2012-03-09
  • 打赏
  • 举报
回复
你的VS是Team Suite 版本吗?
  • 打赏
  • 举报
回复
这个错误看不出什么

断点仔细排查

62,266

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧