ASPX templates
Version 6.x > ASPX templates > Help: Error when create new site aspx View modes: 
User avatar
Member
Member
hungquang_itsyad-yahoo.com - 5/24/2012 10:05:05 PM
   
Help: Error when create new site aspx
When I create new site aspx, I have an error:

Error during import process
Copying objects files
Rebuilding site indexes
Ensuring missing site settings
Processing additional actions
Importing 'Newsletters' objects
Importing 'Newsletter templates' objects
Importing additional document properties
Importing ACL items
Importing ACLs
Importing document: / (en-US)
Importing 'Content categories' objects
Importing 'Tag groups' objects
Importing 'Scheduled tasks' objects
Importing 'Roles' objects
Importing 'Website' objects
Importing 'Setting keys' objects
Importing 'Settings categories' objects
Preparing import process

ERROR: Error copying folder 'D:....\App_Data\Templates\BlankSiteASPX\Data\Files\cms_pagetemplate\CMSTemplates' to the destination folder 'D:....\App_Data\CMSTemp\ImportExport\Files\CMSTemplates'.
Message: Could not load file or assembly 'CMS.IO, Version=6.0.4315.10220, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Stack Trace: at WebInstallerHelper.InstallerHelper.ReplaceMarkupAttr(String inFile, String outFile, String oldValue, String newValue)
at WebInstallerHelper.InstallerHelper.ChangeCodeBehindToCodeFile(String inFile, String outFile)
at CMS.CMSImportExport.ImportProvider.CopyFile(SiteImportSettings settings, String sourcePath, String destPath)
at CMS.CMSImportExport.ImportProvider.CopyDirectory(SiteImportSettings settings, String sourcePath, String targetPath)
at CMS.CMSImportExport.ImportProvider.CopyDirectory(SiteImportSettings settings, String sourcePath, String targetPath)
at CMS.CMSImportExport.ImportProvider.CopyImportFiles(SiteImportSettings settings)

ERROR: Error during import process
Message: Could not load file or assembly 'CMS.IO, Version=6.0.4315.10220, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Stack Trace: at CMS.CMSImportExport.ImportProvider.CopyImportFiles(SiteImportSettings settings)
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)



How to fix this error?

Thank!

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 5/27/2012 4:28:38 AM
   
RE:Help: Error when create new site aspx
Hello.

Did you apply any hotfix or did any action, which could modify files in your project folder, before this error appeared for the first time?

Can you can that given file exists in your <project folder>/Bin directory, and that its version (6.0.4315.10220) is the same like other assemblies in the Bin folder?

Could you please also try to delete .NET cache? Thank you.

Best Regards,
Radek Macalik