Microsoft 测试管理器 - 诊断数据适配器 IntelliTrace 发生错误
当我尝试在 Microsoft 测试管理器中运行测试时,收到以下错误消息。
此适配器不会用于此目的 试运行。出现以下错误 发生:元素“StartupInfo”位于 名称空间 '瓮:schemas-microsoft-com:visualstudio:tracelog' 有无效的子元素 命名空间中的“DeleteLogOnClose” 'urn:schemas-microsoft-com:visualstudio:tracelog'。
查看(代理和控制器 - 同一个盒子)服务器上的事件日志,我在上述错误之前不久看到以下错误:
(QTDCAgent32.exe,PID 2700,线程 7) 数据采集器 'datacollector://microsoft/TestImpact/1.0' 记录以下错误:这 此测试不会使用适配器 跑步。出现以下错误: 对象引用未设置为 对象的实例。
我已经寻找解决方案,但找不到遇到此问题的其他人。
有人有什么想法吗?我快绝望了!
谢谢
太平绅士
I get the following error message when I attempt to run a test in Microsoft Test Manager.
This adapter will not be used for this
test run. The following error
occurred: The element 'StartupInfo' in
namespace
'urn:schemas-microsoft-com:visualstudio:tracelog'
has invalid child element
'DeleteLogOnClose' in namespace
'urn:schemas-microsoft-com:visualstudio:tracelog'.
Looking in the event log on the (agent and controller - same box) server I see the following error shortly before the above one:
(QTDCAgent32.exe, PID 2700, Thread 7)
Data collector
'datacollector://microsoft/TestImpact/1.0'
logged the following error: This
adapter will not be used for this test
run. The following error occurred:
Object reference not set to an
instance of an object.
I've searched for a solution but cannot find anyone else who encountered this issue.
Anyone have any ideas?? I'm getting desperate!
Thanks
JP
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
至少对于第一个错误,您的收集计划似乎无效。你对它们进行过修改吗?您是否更改过 Visual Studio 版本?
检查以下两项:
Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TraceCollector.dll.config 和
Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\en\CollectionPlan.xml
我至少会尝试完全删除该节点“DeleteLogOnClose”。
For at least the first error it looks like you have an invalid Collection Plan. Have you modified them at all? Did you change Visual Studio versions at all?
Check both:
Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TraceCollector.dll.config and
Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\en\CollectionPlan.xml
I would at least try removing that node 'DeleteLogOnClose' altogther to start with.
我在使用 VS 2010 时遇到了这个问题。我能够通过应用 vs 2010 sp1 来解决它。
I had this issue with VS 2010. I was able to resolve it by applying vs 2010 sp1.