When attempting to create a word document I get the following error :
Could not load file or assembly 'Syncfusion.Compression.Base, Version=20.3460.0.59, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Could not load file or assembly 'Syncfusion.Compression.Base, Version=20.3460.0.56, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The Syncfusion.Compression.Base.Dll file is in the same folder as the rest of the assemblies.
Not sure what is missing.
I just got a similar error when trying to create an xlsx file using XLSIO. I suspect I am missing something in my deployment folder. Not sure what the significance of it saying version 20.3460.0.59 in the first part of the exception , the deployed file is 20.3460.0.56.
Could not load file or assembly 'Syncfusion.XlsIO.Base, Version=20.3460.0.59, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'Syncfusion.XlsIO.Base, Version=20.3460.0.56, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The system cannot find the file specified.
<dependentAssembly>
<assemblyIdentity name="Syncfusion.Compression.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-20.3460.0.59" newVersion="20.3460.0.59" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Syncfusion.XlsIO.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-20.3460.0.59" newVersion="20.3460.0.59" />
</dependentAssembly>
I found the following in the app.config file of my project. I commented the lines out and everything seems to work. Not sure how these lines were added.
We are glad to know that the reported issues got resolved at your end.
If you update from one assembly version to another version referenced in the
sample application, this <dependentAssembly>
element is added in App.config file with old version specification. Due to this
mismatched product version of Syncfusion assemblies referenced in the sample
application causes the reported issue at your end.