Word Template Parsing Service (Response Delayed)

Hello ASPOSE tech team - We use ASPOSE.Word to parse WORD template and inject variable data from respective XLS file in our application. From time to time, we have seen very slow response from ASPOSE (ver 19.2) for small document size recently. We would like to put some logging in the CODE while ASPOSE work in progress. Please advice if there are any standard method or native class available like Verbose.

Thanks

@dshah1234,

Thanks for your inquiry. You can measure how much time a particular Aspose.Words’ method has taken by using standard .NET routines (e.g. Stopwatch class from System.Diagnostics namespace).

Have you tried the latest version of Aspose.Words for .NET i.e. 19.7 on your end? In case the problem still remains (Aspose.Words is taking too much time etc), please ZIP and attach the following resources here for testing:

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

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

Hello - Thank you for response. No, we haven’t tried the latest version. On the other note, regardless of which version we use it…How best can we put some custom logging, as we use ASPOSE in various applications at various steps. Do you offer any standard logs? This will help us to trouble shoot any functional or performance issues in the entire application.

Thank you in advance -
Devang

@dshah1234,

I am afraid, there are no logging tools inside Aspose.Words. We only have WarningCallback implemented in Aspose.Words. It is called during various document processing procedures when an issue is detected that might result in data or formatting fidelity loss. The example you can find here:

If we can help you with anything else, please feel free to ask.