Try our conversational search powered by Generative AI!

Export CMS 4.5x / import CMS 5 R2

Vote:
 

Hello!

We are currently working on a project where we need to get pages from a CMS 4.5x installation to a CMS 5 R2 installation.

We managed to export/import the pagetypes needed but when trying to import the actual pages we get:

2010-05-24 17:47:18,632 WARN [103] EPiServer.Core.Transfer.PageTransfer.Import - Can't transfer page, because

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

   at System.ThrowHelper.ThrowKeyNotFoundException()

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at EPiServer.Core.Transfer.PageTransfer.CreateDefaultPage(Dictionary`2 propertyStringLookup, Boolean& isUsingPrototype)

   at EPiServer.Core.Transfer.PageTransfer.Import(RawPage page, AccessLevel requiredDestinationAccess)

2010-05-24 17:47:18,757 ERROR [103] EPiServer.Core.Transfer.TransferLogger.Error - 10.5.3 Export/import error: Exception: The given key was not present in the dictionary.[]

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

   at EPiServer.Core.Transfer.PageTransfer.Import(RawPage page, AccessLevel requiredDestinationAccess)

   at EPiServer.Core.Transfer.PageTransfer.Import(ITransferPageData page, AccessLevel requiredDestinationAccess)

   at EPiServer.Enterprise.Transfer.EPi4.DataImporter.ImportPagesEPi4(XmlTextReader reader)

   at EPiServer.Enterprise.Transfer.EPi4.DataImporter.ImportRaw(Stream stream)

   at EPiServer.Enterprise.Transfer.EPi4.DataImporter.Import()

I've never seen this before and "given key" isn't very specific. Does anyone else recognize this and maybe even knows how to get around it?

Regards,

 

Kim

#39603
May 24, 2010 18:15
Vote:
 

In the guide for migrating from 4 to 5 (http://world.episerver.com/en/Documentation/Items/Tech-Notes/EPiServer-CMS-5/EPiServer-CMS-5-SP1/Migrating-from-CMS-462-to-CMS-5-SP1/) There's information about a bug which makes it impossible to import pages containing the root page. Could that be your problem?

#39605
May 25, 2010 8:08
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.