Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Import Error View modes: 
User avatar
Member
Member
Leandro Brito - 10/11/2011 11:25:56 AM
   
Import Error
Hi,

I got this error on import process.

ERROR: Error importing 'Document types' objects (News)
Message: [DataConnection.ExecuteQuery]: Query: ALTER TABLE CONTENT_news ALTER COLUMN [NewsSummary] nvarchar(110) NULL: caused exception: String or binary data would be truncated.


Does someone know why this happen?

Thanks

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 10/11/2011 12:58:38 PM
   
RE:Import Error
Hello,

The cause of this issues lies probably in the fact that the same column (NewsSummary) has different sizes in those Kentico installations. It seems that the mentioned column has a larger size set up in the exported site that in the destination instance. Please check this field definition in CMSSiteManager / Development / Document types / News / Fields / <NewsSummary> and check it's set the same way as on the source site.

Best regards,
Boris Pocatko