We are using Aspose.Words since a long time in a project that uses ilmerge to create one project DLL. We try to update our project from 14.2.0 to the newest 14.5.0 version. This produces serveral errors during the execution. We use the same build process as before. Just changed the DLL.
License wordLicense = new License();
string licenseString = @"<?xml version=‘1.0’…";
Results in Error:
Attempted to read past the end of the stream.
at Aspose.Words.License.SetLicense(Stream stream)
Thanks for helping us!
License license = new Aspose.Words.License();
That possiblity does not work for us. We have to integrate everything into the assambly. File access is not possible. So we have to use the stream approach.
If I change to demo license: license.SetLicense("") I get the same error. If I uncomment that line the error travels to an other method of your component.
My code line with next error. Is is an outputformat handler that i wrote:
outputFormatInfos.Add(new OutputFormatInfo(OutputFormat.Swf, new SwfSaveOptions(), “application/x-shockwave-flash”, “swf”));
I sent you our license by private message. E-Mail is no more possible as descibed.
Sorry that it took so long to give you an awnser. But it took us a while to extract the problem to a simple visual studio solution. The problem still remains. Also with aspose.words 14.6.
Please download the solution from (80mb, to big for forum):
Details about the error and the projects you find in Problem Description.docx.
If needed you can reach me by phone under: +41 44 400 30 67
Any news on that?