我一直在Sitecore中使用TDS,但我的一個網站剛剛開始嘗試執行同步時出現「無法找到網站上下文」錯誤。任何人都知道這會導致什麼?Sitecore TDS無法找到網站上下文
網站是Sitecore的8和使用TDS IM的版本是從Visual Studio 5.5 2015年
堆棧跟蹤如下:
Connection Test Pass: TDS service files are correctly installed.
Connection Test Message: Connector version local 5.5.0.19 and remote 5.5.0.19
Connection Test Pass: Access Guid check passed.
Found database master in the target Sitecore instance.
Connection Test Failure: Failed to complete test.
Exception System.Web.Services.Protocols.SoapException: Can not find site context. ---> System.InvalidOperationException: Can not find site context.
at HedgehogDevelopment.SitecoreProject.Service.LanguageFallbackDisabler..ctor()
at HedgehogDevelopment.SitecoreProject.Service.TDSExecutionContext.Wrap[](Func`1 func)
at HedgehogDevelopment.SitecoreProject.Service.TdsService.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath)
--- End of inner exception stack trace ---
at HedgehogDevelopment.SitecoreProject.Service.TdsService.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath) (FaultException):
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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.GetItem(GetItemRequest request)
at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.GetItem(GetItemRequest request)
at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath)
at HedgehogDevelopment.SitecoreProject.VSIP.ProjectTests.ConnectionTest.<>c__DisplayClass1.<Execute>b__0(String key)
at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.CallServiceWrapper[T](TdsServiceSoapClient client, SitecoreProjectNode project, Func`2 clientCall)
at HedgehogDevelopment.SitecoreProject.VSIP.ProjectTests.ConnectionTest.Execute()
at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.BuildTestDialog.RunTests()
Connection Test Finish: 2016-09-16 02:30:51
否則網站工作正常嗎? Sitecore日誌中是否有任何例外情況? –
網站在其他方面工作,在sitecore日誌中沒有例外 –