Episerver error in Export: '-2883593' is not a valid value for EPiServer.Editor.EditorToolOption


In one project I had to export all news pages from an old epi 6 (that was earlier upgraded from epi 5) CMS.

However, the export function threw this nasty error about some editor tool option had a bad value...

The error that occured in Admin export

Följande fel inträffade:
Exception: There was an error generating the XML document.[Instance validation error: '-2883593' is not a valid value for EPiServer.Editor.EditorToolOption.]

To solve this I just replaced the long string settings with -1 for all settings, using a simple sql statement
SQL statement:

UPDATE tblPageDefinition SET LongStringSettings = -1

And in my case, since I use PageTypeBuilder to create pagetypes, change the PageTypeBuilder setting for that property (longstring options, just set to have All), otherwise PTB puts the value back in the database.

NOTE! Just do this with your own local database, not on the production environment db.

Inga kommentarer:

Skicka en kommentar