We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Unable to load full Document when running as Windows Service

Hi,


I have a 22 page MS Word document that I am attempting to load into an Aspose.Words Document. When running as an ASP.NET web application, it loads the full document as expected.

However, when running as a Windows Service, it only loads 8 pages of the document. No exception is thrown. Attached is a sample project and the Word document.

Any suggestions?

Thanks,

-eric

Edit: I am using version 14.7.0.0 of the Aspose.Words package.

Hi Eric,


Thanks for your inquiry. This is because of limitations of Aspose.Words when used in evaluation mode. The problem does not occur when used after applying the license. So, please apply the license as described below:
http://www.aspose.com/docs/display/wordsnet/Applying+a+License

Best regards,

Thanks for the quick response!


Yes, this was the issue. My web app was applying the license but my Windows service was not. (My mistake). It would be helpful if there was an exception or warning thrown if trying to process a large document with the eval version :wink:


Hi Eric,


Thanks for your feedback. It is great you were able to resolve this issue on your end. Secondly, the evaluation mode has some limitations, please refer to the following article:
http://www.aspose.com/docs/display/wordsnet/Evaluate+Aspose.Words

Please let us know any time you have any further queries.

Best regards,