2016-09-16 3 views
2

私はSitecoreでTDSをしばらく使用していましたが、私のサイトの1つが同期をしようとすると「サイトのコンテキストを見つけることができません」というエラーが表示され始めました。誰がこれを引き起こすのか知っていますか?Sitecore TDSサイトのコンテキストが見つかりません

サイトはサイトコア8と、次のように使用してTDSイムのバージョンは5.5

2015年のVisual Studioからスタックトレースがあるさ:

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 
+1

ウェブサイトは正常に動作していますか? Sitecoreのログに例外がありますか? –

+0

他のサイトは動作していて、サイトコアログに例外はありません –

答えて

3

この問題は、TDSサービスへのパスがIgnoreUrlPrefix設定に追加されたために発生していました。

+0

この設定はどこですか? Sitecore.configで?それは私の問題ではありません。:*( – Jeeby

+0

Sitecore 8のWeb.config –

2

接続を確認する手順を以下に言及したようにしてください。

  • 移動し、Webブラウザでサイトコアのインスタンスへと サイトが利用可能であることを確認してください。
  • Sitecore インスタンスへのアクセスをブロックするファイアウォールがないことを確認してください。
  • Sitecoreインスタンス を含むディスク上のフォルダに移動し、フォルダ_DEVが存在することを確認します。
  • _DEVフォルダにファイルTdsService.asmxweb.configファイルが含まれていることを確認します。
  • サイトコアインスタンスのビンフォルダにファイル HedgehogDevelopment.SitecoreProject.Service.dllが含まれていることを確認します。

+0

これらのすべてのものをテストしたところ、それらはすべてそこにありました。それらを削除してテストボタンをクリックしてみると、同じエラーが表示されます。 –

+0

この問題の原因を見つけたことがありますか?私は同じ問題を抱えています...上記のすべてが正しく設定されており、テストは最後のもの(Test Connection to Sitecore)を除くすべてを渡します。 – Jeeby

0

私にとっては、間違ったバージョンのTDSを使用していたためです。私は5.5.0.15をインストールしましたが、私が必要としたのは何ですか(そしてこのクライアント用に作成されたすべてのTDSコンテンツは5.1.0.17でした)。

正しいバージョンをインストールすると問題が解決しました。

関連する問題