Free Support Forum - aspose.com

Looking for good ways to debug

Hi, I always need to process smart markers and then save the processed sheets into excel files.

For some reason, my current project doesn’t work. I have data from DB. Markers match each other. Until calling the Process API, I don’t see any errors. But calling LastRow shows no data inserted. When I call Workbook Save, I also get an Argument Null Exception.

I’m looking for tips and suggestions how to better debug Aspose application since I don’t see any logs other than the exception. Thank you.

@sanshi,

Please create a simple standalone console application, zip the project and post us to show the issue, we will check it soon. Also, attach the template files (if any). Moreover, please remove any interdependencies to DB or external source and create dataset or datatable in code (if necessary), so we could execute your sample code using VS.NET seamlessly (without compile time errors) to trace the issue.

Thank you for the kind offer. But my company prohibits any kind of sharing.

I think I find the cause of the issue. One of SetDateSourse call was set with IEnumerable.

@sanshi,

Good to know that you have sorted it out now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.