1

我的 Visual Studio 2017 解决方案中的 TDS 项目突然不同步到 Sitecore。我已确认 Sitecore 实例仍将在浏览器中打开并正常运行。TDS 项目属性和 _DEV/web.config 文件中的访问指南匹配。当我运行“测试”时,它总是在“验证访问 guid 是否正确”步骤中失败。

TDS 输出屏幕中的错误消息如下:

内部异常详细信息:异常远程服务器返回错误:(500)内部服务器错误。(WebException): 在 System.Net.HttpWebRequest.GetResponse() 在 System.ServiceModel.Channels.HttpChannelFactory 1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) Connection Test Failure: Failed to complete test. Exception The given key was not present in the dictionary. (KeyNotFoundException): at System.Collections.Generic.Dictionary2.get_Item(TKey key) 在 HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.CallServiceWrapper[T](TdsServiceSoapClient 客户端,SitecoreProjectNode 项目, Func`2 clientCall) 在 HedgehogDevelopment.SitecoreProject.VSIP.ProjectTests.AccessGuidTest.Execute() 在 HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.BuildTestDialog.RunTests()

任何人都可以帮助解决这个错误吗?

这是在 Visual Studio 2017、Sitecore 8.2 和 TDS Hedgehog 版本 5.7.0.16 上

我已经尝试重新启动 VS,删除 _DEV 文件夹的内容并重新安装 Sitecore 连接器,并验证“wwwroot/website_name/Website/bin”文件夹中的 Hedgehog dll 是正确版本的 TDS。

Tds 测试失败

tds 错误信息

4

1 回答 1

1

错误已解决。我从版本 5.7.0.16 更新到 5.8。Hedgehog 支持表示该问题是由自定义错误处理程序引起的重定向处理程序错误

于 2019-05-06T20:17:50.090 回答