Free Support Forum - aspose.com

Stability of Word generation on Words.NET component

Hello,

We use the Aspose.Words for .NET (version 16.11) for generating complex report through a windows service called from a web application. This worked quite well during all our development and our tests but now that the application is in production it seems that the report generation is not stable.
When there are more and more users generating reports, at a moment we receive the following errors (sorry for the not readable characters coming from aspose obfuscation):
System.NullReferenceException: Object reference not set to an instance of an object.
at _f76e3390295c4393b6dc0fd15827d1c5. ( , Object , Object )
at . ()
at . ( , Object , Object , IDictionary )
at .( , IDictionary )
at .( , IDictionary )
at . ( , Object , Object , IDictionary )
at .( , IDictionary )
at .( , IDictionary )
at .( , IDictionary )
at .( , IDictionary )
at . ( , Object , Object , IDictionary )
at .( , IDictionary )
at .( , IDictionary )
at . ( , Object , Object , IDictionary )
at .( , IDictionary )
at . ( )
at .(String[] , Object[] , , )
at Aspose.Words.Reporting.ReportingEngine.BuildReport(Document document, Object[] dataSources, String[] dataSourceNames)
After this, the report engine is totally down and cannot produce any more report and we need to restart the service to be able to produce new reports.

Does anyone already had this issue ?
How can we correct this ?

Best regards,

Eric

@elcainfo,

Thanks for your inquiry. Please try latest version of Aspose.Words for .NET 17.7. Hope this helps you. If you still face problem, please share the following resources here for testing.

  • Your input Word document.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

Best Regards,
Tahir Manzoor