Kentico Import Error

Jaspal Marok asked on July 28, 2018 00:08

I am receiving the error below during a large export(3.3gb), for multiple page types, I can be wrong but issue seems to be space after the 'Company '. How can I remove that space from the export or should I do another export?

``` ERROR: Error importing 'Page types' objects (Company - Landing Page Banner (New)) Message: [TransformationInfoProvider.SetTransformationInfoInternal]: Transformation name 'Company ' does not meet restrictions for code name format.

Exception type: CMS.Base.GeneralCMSException Stack Trace: at CMS.PortalEngine.TransformationInfoProvider.SetTransformationInfoInternal(TransformationInfo transformation) at CMS.PortalEngine.TransformationInfo.SetObject() at CMS.CMSImportExport.ImportProvider.SetObject(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentInfo, List1 importedObjects) at CMS.CMSImportExport.ImportProvider.ProcessMainObject(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentObject, TranslationHelper th, ImportParameters parameters) at CMS.CMSImportExport.ImportProvider.UpdateObject(SiteImportSettings settings, GeneralizedInfo infoObj, Boolean siteObject, DataSet data, TranslationHelper th, Boolean updateChildren, ProcessObjectEnum process, List1 importedParentIds, List1 postProcessList, List1 importedObjects, GeneralizedInfo parentObject, Boolean postProcessing) at CMS.CMSImportExport.ImportProvider.ProcessChildren(SiteImportSettings settings, GeneralizedInfo infoObj, TranslationHelper th, ImportParameters parameters) at CMS.CMSImportExport.ImportProvider.ProcessObjectData(SiteImportSettings settings, GeneralizedInfo infoObj, GeneralizedInfo parentObject, TranslationHelper th, ImportParameters parameters) at CMS.CMSImportExport.ImportProvider.UpdateObject(SiteImportSettings settings, GeneralizedInfo infoObj, Boolean siteObject, DataSet data, TranslationHelper th, Boolean updateChildren, ProcessObjectEnum process, List1 importedParentIds, List1 postProcessList, List1 importedObjects, GeneralizedInfo parentObject, Boolean postProcessing) at CMS.CMSImportExport.ImportProvider.ImportObjects(SiteImportSettings settings, DataSet data, String objectType, Boolean siteObject, TranslationHelper th, Boolean importChild, ProcessObjectEnum processType, List1 importedParentIds) ```

Recent Answers


Brenden Kehren answered on July 30, 2018 23:34

Looks like your transformation name has a space after it.

Transformation name 'Company ' does not meet restrictions for code name format.

See the space between the "y" and the '?

0 votesVote for this answer Mark as a Correct answer

Jaspal Marok answered on July 31, 2018 14:45

@Brenden I also think that "y " is the issue behind this error, but this transformation is a part of a large import that I am trying to setup on a local environment and there are multiple files raising the same error. I am still not sure how can I solve this problem.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 31, 2018 15:13

You have a few options:

  • Modify the code names of the objects with the problems in the exported XML files
  • Modify the code names of the objects with the problems in the existing instance of Kentico and re-export the site

Kentico won't allow you to import invalid data. I'm not 100% sure how it let you add those code names to begin with but it surely won't allow you to import them as it validates it all upon import.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.