简体   繁体   中英

Object reference exception when importing content in Episerver

We are using Optimizely/Episerver CMS 11.20. When trying to export a page hierarchy from our production environment and then import the resulting ExportedFile.episerverdata file to our acceptance test environment I get the following error:

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

I have no idea what 70725_133679 is referring to. Is there a way to look this up, eg via an SQL query against the "EPi" database?

It refers to a specific version of some content (which could be just about anything).

You could try to browse to https://yoursite/EPiServer/CMS/#context=epi.cms.contentdata:///70725_133679 (note the ID at the end) to see which content it is.

Got another answer on a Optimizely forum (thanks to Surjit Bharath):

The following SQL against the EPi database gives information about the referenced content:

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

This too points to a submit button. I have yet to understand why that block would cause an exception during import, but now I at least have a place to start digging.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM