Bug reports Found a bug? Post it here please.
Version 6.x > Bug reports > ICSharpCode.SharpZipLib assembly version error on site export View modes: 
User avatar
Member
Member
yuriy.chabanov-gmail - 1/17/2014 8:19:06 AM
   
ICSharpCode.SharpZipLib assembly version error on site export
Hello,
we're running our sites on Kentico v6.0.57 (SP1).

During site export I get the error:
------------------
Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.3.365, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' 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.ExportProvider.CreateZipPackage(SiteExportSettings settings)
at CMS.CMSImportExport.ExportProvider.ExportObjectsData(SiteExportSettings settings)
------------------

I cheked CMS.CMSImportExport's manifest and it really refers different ICSharpCode.SharpZipLib version. (0:85:3:365 instead of 0:86:0:518 present in the /bin folder).
Please assist.
Thank you.

User avatar
Member
Member
kentico_sandroj - 1/24/2014 5:19:05 PM
   
RE:ICSharpCode.SharpZipLib assembly version error on site export
Hello,

Just to make sure there is no confusion, would it be possible to confirm which version of the DLL is in the Bin folder? 0.85.3.365 seems to be the latest version. Is it possible the original DLL was replaced with a newer version due to some custom code requirements? If so, that would explain the error as the full source code would be required to make such a change.

However, as a workaround, instead of doing export\import, you could make backups of your project files and database, restore them on the second server, update the Web.config, and you should have an identical copy of your instance.

Please let me know if you have any questions.

Best Regards,
Sandro