TDS .update包因对象引用错误而失败-8.0更新2 [英] TDS .update package fails with object reference error - 8.0 update 2

查看:122
本文介绍了TDS .update包因对象引用错误而失败-8.0更新2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试使用TDS更新包将项目部署到TEST环境.当我们安装时,尽管所有项目都标记为始终更新",但所有项目都将被跳过.当我们查看日志时,发现删除版本时存在对象引用错误.

We are trying to use TDS update package to deploy items to TEST environment. When we install, all the items are getting skipped though items are marked with "Always Update". When we reviewed the log we found that there is an object reference error while removing versions.

然后,我们使用Deployment Manager将项目更新为 部署一次 ,并选择字段级部署"下的所有字段.

We then updated the items using Deployment manager to Deploy Once and selected all the fields under Field level deployment.

注意:该图显示部署动作始终为始终"

Note: Image shows deploy action as 'always' above

执行此操作后,该软件包已成功安装,并且未记录任何错误.安装后的日志显示该字段已更新.

After doing this, the package is installed successfully and no errors were recorded. The post installation log showed that the field is updated.

2/18/2016-22:16:更新项目的字段'Description.en' '/sitecore/content/Repository/Data-Items/Common/ContactAgencies/Agency1'

2/18/2016-22:16: Updating field 'Description.en' for item '/sitecore/content/Repository/Data-Items/Common/ContactAgencies/Agency1'

但是,当我将Sitecore项目版本与TDS进行比较时,仍然存在差异,并且程序包没有更新该字段.

However, when I compared the Sitecore item version with TDS, there is still difference and the package didn't update the field.

感谢有人可以帮助我们!!

我们正在使用以下Sitecore实例

We are using below Sitecore instance

Sitecore.NET 8.0(修订版150223)

Sitecore.NET 8.0 (rev. 150223)

2015年2月23日

February 23, 2015

.NET Framework 4.0.30319.34003

.NET Framework 4.0.30319.34003

©Sitecore.保留所有权利.

© Sitecore. All rights reserved.

数据库版本:500

通过尝试的解决方案的方式提供了此处

By the way tried solution provided here.

推荐答案

进一步研究该问题,我们发现以下2个数据提供程序正在导致对象引用错误.

Further investigating the issue we found that below 2 dataproviders are causing the object reference error.

<readonlycatalogprovider type="Sitecore.Commerce.Connect.CommerceServer.Catalog.ReadOnlyCatalogDataProvider, Sitecore.Commerce.Connect.CommerceServer" patch:source="CommerceServer.config">
  <CacheOptions.DisableAll>true</CacheOptions.DisableAll>
</readonlycatalogprovider>
<catalogprovider type="Sitecore.Commerce.Connect.CommerceServer.Catalog.CatalogDataProvider, Sitecore.Commerce.Connect.CommerceServer" patch:source="CommerceServer.config" />

Sitecore Commerce Server Connect 8.0修订版. 8.0.217.0.update导致更新程序包失败. CommerceServer.config中的数据提供程序导致空引用异常. TDS软件包与Sitecore Commerce Server Connect 8.0修订版一起正常工作. 8.0.225.0.

Sitecore Commerce Server Connect 8.0 rev. 8.0.217.0.update is causing update packages to fail. Data providers in CommerceServer.config are causing null reference exception. TDS packages are working fine with Sitecore Commerce Server Connect 8.0 rev. 8.0.225.0.

这篇关于TDS .update包因对象引用错误而失败-8.0更新2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆