无法与sitecore同步,与Access Guid相关的错误

问题描述 投票:6回答:2

我已经安装了sitecore连接器。但是当我尝试同步时,我得到一个“找不到服务器,500错误”。 sitecore管理面板在浏览器中正常运行。当尝试使用TDS项目属性中的测试按钮时,我会收到以下错误:

enter image description here

我已经检查了TDS项目属性和inetpub中已部署网站中_DEV文件夹的web.config中的Access Guid,它们是相同的。

任何想法可能是什么问题?

sitecore tds
2个回答
4
投票

为了使TDS在本地解决方案中工作,您需要右键单击TDS项目,选择“属性”并确保在“构建”选项卡下选中“安装Sitecore连接器”。单击TEST并让该过程运行。

如果在同一解决方案中有多个TDS项目,请确保在每个项目上定义了相同的GUID。

enter image description here


0
投票

在Build选项卡中,请确保您有正确的设置1. Sitecore Web URL - Sitecore URL(http://example.com/sitecore

  1. Sitecore部署文件夹 - 网站文件夹的路径(例如:C:\ inetpub \ wwwroot \ website,其中http://example.com指向)

就我而言,Sitecore Deploy文件夹指向不正确的文件夹。经过修正后,它就像魅力一样。


0
投票

我遇到了同样的问题,我通过删除网站root上的_DEV文件夹解决了这个问题,该文件夹允许TDS再次安装连接器。


0
投票

对于所有错误,此解决方案很有帮助。目前,我们在web.config中有以下代码:

<httpErrors errorMode="Custom" existingResponse="Replace" defaultResponseMode="File"> 
      <remove statusCode="404" subStatusCode="-1"/> 
      <error statusCode="404" subStatusCode="-1" path="/www/home/page-not-found" responseMode="ExecuteURL"/> 
      <remove statusCode="500" subStatusCode="-1"/> 
      <error statusCode="500" subStatusCode="-1" path="/error-500.html" responseMode="ExecuteURL"/> 
</httpErrors> 

我们应该用这个替换它:

<httpErrors errorMode="Custom" defaultResponseMode="File"> 
      <remove statusCode="404" subStatusCode="-1"/> 
      <error statusCode="404" subStatusCode="-1" path="/www/home/page-not-found" responseMode="ExecuteURL"/> 
      <remove statusCode="500" subStatusCode="-1"/> 
      <error statusCode="500" subStatusCode="-1" path="/error-500.html" responseMode="ExecuteURL"/> 
</httpErrors> 

我们从上面的代码中删除了这个:existingResponse="Replace"

© www.soinside.com 2019 - 2024. All rights reserved.