Free Support Forum -

Multiple assemblies causes exception

We have a solution that uses Aspose.Words to create document templates for SharePoint. This solution uses the version of the assembly and has been working fine for some time.

Recently we installed a 3rd party solution that uses the version of Aspose.Words.

Now the method that saves the document template(Aspose.Words.Document.Save) throws an exception: "Invalid save format requested." (called with a MemoryStream and SaveFormat.Docx)

I have tried to set specific version in our solution (Visual Studio 2010, Specific version on the reference), but the error remains. I have seen a similar issue in the forum (, but this does not help with my problem, since both assemblies exist in the global assembly cache.

To make the issue even worse, I am unable to reproduce this error in a console application, but the fact remains: one dll in cache, OK, two dlls in cache, fail.

Hi Eskild,

Thanks for your inquiry.

I am sorry to inform you that you might not be able to use two parallel versions of Aspose.Words for .NET in a single application. However please note that the latest release version of Aspose.Words for .NET 11.8.0 contains all the features present in earlier versions. I would suggest you please unregister all older versions from GAC and only keep the latest version. You can download it from the following link:

Moreover, I would also like you please take a look at the following discussion here:

I hope, this will help.

Best Regards,