gpt4 book ai didi

sitecore - TDS 获取 sitecore 项目超时

转载 作者:行者123 更新时间:2023-12-04 03:21:07 25 4
gpt4 key购买 nike

我继承了一个 Sitecore 项目,并尝试将 TDS [获取 Sitecore 项目] 用于新的 TDS 项目,但是我遇到了以下错误。在错误提示

之前我得到警告是毫无值(value)的

旧连接器

---------------------------
Hedgehog Development TDS
---------------------------
Warning: The version of the sitecore connector is from an older version of TDS.

Click OK to install the latest version of the connector.

不过,我什至手动删除了 Sitecore 连接器,所以我不确定为什么它会检测到旧版本。

获取 Sitecore 项目错误

---------------------------
Hedgehog Development TDS
---------------------------
Error The request channel timed out while waiting for a reply after 00:01:59.9912110. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.(TimeoutException) getting sitecore items.

Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.CheckAccessGuid(CheckAccessGuidRequest request)
at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.CheckAccessGuid(CheckAccessGuidRequest request)
at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.CheckAccessGuid(String accessGuid)
at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.GetTdsServiceSoapClient(SitecoreProjectNode project, Boolean checkVersion)
at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.GetSitecoreItems.LoadSitecoreItemsIntoTree(TreeNodeCollection nodes, String sitecoreBrowsePath, SitecoreItemNode node, Boolean isRoot, Boolean getAllChildren)
at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.GetSitecoreItems.GetSitecoreItems_Load(Object sender, EventArgs e)

虽然我认为错误消息显示的是 1:59 分钟,但错误是即时的,并且在重试时会改变几毫秒。

最佳答案

TDS 插件通过 WCF 与 Sitecore 通信。您可以在以下位置摆弄绑定(bind)配置:

Visual Studio 2010

“HedgehogDevelopment.SitecoreProject.VSIP.dll.config”和“HedgehogDevelopment.SitecoreProject.VSIP2010.dll.config”均位于“C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore (VS2010)”下

Visual Studio 2012

“HedgehogDevelopment.SitecoreProject.VSIP.dll.config”和“HedgehogDevelopment.SitecoreProject.VSIP2012.dll.config”均位于“C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore (VS2012)”下

我将所有四个配置文件保持同步,我将所有与超时相关的值更改为 30 分钟,并将所有与大小相关的值更改为“2147483647”(最大值)。

保存以上文件后记得重启Visual Studio。

关于sitecore - TDS 获取 sitecore 项目超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15492818/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com