Export failing with larger dataset

Hi,

We experience a situation, when reports generation fail with a larger dataset, and succeeds with a smaller dataset, having the data source SQL Server.

Couple of unknowns:

  1. Is there a way to obtain more internal information about the reason of the error, since, the error is generic: “A general error occurred during printing. Check the project file and the data source”
  2. It looks like, under the hood L&L uses SQLCommands to retrieve data.
    Is there a way to set the CommandTimeout parameter for these?

I am suspecting, it’s about some internal timeout for data retrieval.

The complete exception is:

combit.Reporting.LL_Printing_Exception: A general error occurred during printing. Check the project file and the data source.
at combit.Reporting.LLException.CheckReturn(Int32 returnValue)
at combit.Reporting.LlCore.LlPrint()
at combit.Reporting.ListLabel.PrintReportFromRelationalDataSourceNewMode(IDataProvider dataSource, String projectFile, Boolean showFileSelect, LlPrintMode printMode, LlBoxType boxType, String dialogTitle, Boolean showPrintOptions, String tempPath)
at combit.Reporting.ListLabel.AutoPrint(LlProject projectType, String projectFile, Boolean showFileSelect, LlPrintMode printMode, LlBoxType boxType, String dialogTitle, Boolean showPrintOptions, String tempPath)
at combit.Reporting.ListLabel.Print(Object userData, LlProject projectType, String projectFile, Boolean showFileSelect, LlPrintMode printMode, LlBoxType boxType, IntPtr windowHandle, String dialogTitle, Boolean showPrintOptions, String tempPath)
at combit.Reporting.ListLabel.Print(LlProject projectType, String projectFile, Boolean showFileSelect, LlPrintMode printMode)
at combit.Reporting.ListLabel.Print(LlProject projectType, String projectFile, Boolean showFileSelect)
at combit.Reporting.ListLabel.Print(LlProject projectType, Stream projectStream, Stream printerSettingsStream)
at combit.Reporting.ListLabel.Export(ExportConfiguration exportConfiguration)

Hi Adam,

to start off, you could create a log file using Debwin4 - see Troubleshooting Guidance.

Feel free to post it here or share it with our support.

1 Like