Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > new site error code View modes: 
User avatar
Member
Member
enverk@aib.org.tr - 6/23/2010 4:56:56 AM
   
new site error code
An error occurred while adding the new site code. error code is attached.

ERROR: Error importing document ''
Message: [TreeNode.NewInstance]: Class name CMS.MenuItem not defined! Stack Trace: at CMS.TreeEngine.TreeNode.NewInstanceFromDataRow(DataRow dataRow, String className, TreeProvider existingTreeProvider)
at CMS.TreeEngine.TreeNode..ctor(DataRow dataRow, String className, TreeProvider treeProvider)
at CMS.CMSImportExport.ImportProvider.ImportDocuments(SiteImportSettings settings, TranslationHelper th)

ERROR: Error importing documents
Message: [TreeNode.NewInstance]: Class name CMS.MenuItem not defined! Stack Trace: at CMS.CMSImportExport.ImportProvider.ImportDocuments(SiteImportSettings settings, TranslationHelper th)
at CMS.CMSImportExport.ImportProvider.ImportDocumentsData(SiteImportSettings settings, TranslationHelper th)

User avatar
Kentico Support
Kentico Support
kentico_radekm - 6/27/2010 12:07:52 PM
   
RE:new site error code
Hello.

How exactly are you trying to create new site, please? Via "New site wizard" in Site Manager -> Sites (so the installation of Kentico CMS´ instance was successful), or during installation procedure of new Kentico CMS installation? Or are you trying to import some existing site via import procedure?

If you have functional instance, could you please check your Site Manager -> Development -> Document types section, if document type of cms.menuitem class name exists here? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
andy-procaresoftware - 5/2/2012 6:13:57 PM
   
RE:new site error code
Similar issue here on import into version 6. I do have the cms.menuitem. What is the remedy?

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 5/2/2012 11:15:44 PM
   
RE:new site error code
Hello.

So you exported from version 5.x and trying import it into 6.0, right? Did you export your original site via “Export site” or “Export objects” option? In step 2 of the export wizard, was cms.menuitem document type selected for export? This can be managed in Global objects / Development / Document types section. Finally, is / was given document type assigned to proper site? Document types are global object, so it may exist in the system, but it can be assigned to some other site. Could you please check it? Thank you.

Best Regards,
Radek Macalik