VS2010调试SL 4,无法从源服务器加载源代码

发布于 2024-09-24 02:30:33 字数 504 浏览 1 评论 0原文

我正在附加到一个正在运行我部署的 SL 4 应用程序的 IE 实例。所有符号加载正常,但是当调试器遇到断点而不是从 TFS 加载源代码时,它会显示:

SRCSRV:无法确定模块“MyDll”的源服务器信息,因为它不完全受信任。

该网站是一个本地 LAN 网站,例如 https://someapp.domain.local/

我将该网站添加到我的可信网站列表但没有运气。问题是什么?

干杯

更新:报告了 microsoft connect 上的问题 此处

I am attaching to an IE instance which is running my deployed SL 4 app. All symbols load ok but when the debugger hits a breakpoint instead of loading the source code from TFS it says:

SRCSRV: Unable to determine source server information for module 'MyDll' because it is not fully trusted.

The website is a local LAN website like https://someapp.domain.local/

I added the website to my trusted sites list but no luck. What is the problem?

Cheers

Update: reported the problem on microsoft connect here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蒗幽 2024-10-01 02:30:33

找到了解决方案:

在注册表中创建此密钥:

RequireFullTrustForSourceServer = 0 (REG_DWORD)

位于:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\AD7Metrics\Engine{00000000-0000-0000-0000-000000000000}

禁用对源服务器的完全信任是一种安全威胁。
对于 Visual Studio 2010,相应地调整注册表路径。

Got the solution for this:

Create this key in the registry:

RequireFullTrustForSourceServer = 0 (REG_DWORD)

at:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\AD7Metrics\Engine{00000000-0000-0000-0000-000000000000}

Disabling full trust for source server is a security threat.
For visual studio 2010 adjust the registry path accordingly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文