【问题标题】:How to fix a TDS Hedgehog deploy error: 'Exception The given key was not present in the dictionary.'?如何修复 TDS Hedgehog 部署错误:'Exception The given key was not present in the dictionary.'?
【发布时间】:2019-09-22 06:15:04
【问题描述】:

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

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

内部异常详细信息: 异常远程服务器返回错误:(500)内部服务器错误。 (网络异常): 在 System.Net.HttpWebRequest.GetResponse() 在 System.ServiceModel.Channels.HttpChannelFactory1.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 键) 在 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版本。

Failed Tds test

Tds error message

【问题讨论】:

    标签: visual-studio-2017 sitecore8.2 tds


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-05-13
      • 2023-01-27
      • 1970-01-01
      • 2021-09-21
      • 1970-01-01
      • 2023-01-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多