Posted by a ceTe Software moderator
Hello,
You can use Try catch block as shown below to catch any exceptions.
try
{
DocumentLayout report = new DocumentLayout(@"file path of DPLX file");
Document document = report.Run();
document.Draw(@"Path to save the PDF");
}
catch(Exception ex)
{
Console.WriteLine(ex.Message + "\n" + ex.StackTrace + "\n" + ex.InnerException);
Console.Read();
}
If you continue getting the error on Draw or Run method then please email the following details to
support@cete.com.
1. DPLX file.
2. Full error message along with stack trace.
3. Code sample or project which uses static data to recreate the error.
4. Table structure from which you are getting data.
Thanks,
ceTe Software Support Team.