Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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?
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