I'm trying to export a section of the tree in EPi7 (MVC). At the end of the export I get the following error:
The following errors have occurred:Exception: Content with Guid "2ff44c93-5ce2-4e5c-9cc9-69987c3a9344" was not foundCan't export package because: Content with Guid "2ff44c93-5ce2-4e5c-9cc9-69987c3a9344" was not found
I've checked the database (tblContent) and can't find the content with the GUID which makes sense since that is what the error is about.
The only way I can think of to get rid of this error is to find the broken link. Any ideas how?
The issue is not just on a section in the tree, any page I'm trying to export is failing with a similar error.
You can take a look at tblContentSoftLnik - look for that guid in LinkUrl column.
I had the same problem and found that the content guid missing was a Content Assets ID. So if you run into this problem you can look for the guid in tblContent.ContentAssetsID.
I am getting exactly same issue and unable to export content for content asset folder. I can see that GUID in tblcontent.ContentAssetsID but what to do next and how can we fix export issue?
After long troubleshoot, I conclude that below query help to fix invalid content asset references from database to resume export content.
-- Setting ContentAssetId null from tblContent if it is not exits in ContentGuidupdate tblContent set ContentAssetsID=null where ContentAssetsID not in (select ContentGUID from tblContent)
This will remove mapping of invalid Asset GUID if it is not actually exits in content table and which was failing to export content.
It is recommended to take database backup before trying this.