在Episerver中导入内容时,对象引用异常



我们正在使用optimely/Episerver CMS 11.20。当尝试从生产环境导出页面层次结构,然后导入结果ExportedFile时。episerverdata文件到我们的验收测试环境,我得到以下错误:

[Importing content 70725_133679] Exception: Object reference not set to an instance of an object.

我不知道70725_133679是指什么。是否有一种方法来查找这个,例如通过SQL查询对"EPi"数据库?

它指的是某些内容的特定版本(可以是任何内容)。

您可以尝试浏览到https://yoursite/EPiServer/CMS/#context=epi.cms.contentdata:///70725_133679(注意末尾的ID)来查看它是哪个内容。

在optimely论坛上得到了另一个答案(感谢Surjit Bharath):

以下针对EPi数据库的SQL给出了关于引用内容的信息:

select * from tblContent where pkID = 70725 
select * from tblWorkContent where pkID = 133679

这也指向一个提交按钮。我还不明白为什么那个块会在导入过程中导致异常,但现在我至少有了一个开始挖掘的地方。

最新更新