【发布时间】: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版本。
【问题讨论】:
标签: visual-studio-2017 sitecore8.2 tds