Skip to Content
0
Jun 04, 2020 at 12:07 PM

COMException "No error"

398 Views

I just installed the .27 release of the Crystal runtime on my server. Now most of my reports are failing. These reports and the code which launches them have been running for years without trouble. I have made no code changes other than to recompile against .27.

The error occurs when I call SetDataSource on a report table with a List<>. The object contained in the List<> has not changed. It is generated by the recompiled code. The List<> is used in a subreport in the report header, and contains only a single row. I have a few reports which do not use this List<> thing, and they are working (calling SetDataSource on a regular database table).

The error message is 'No error'. Here is the Crystal part of the stack trace:

at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault) at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type) at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(IEnumerable enumerable)

I have uninstalled .27 and reverted to .23 and everything works again.

This actually worked on my test server. I got the same error message, but after a reboot, it was fine. On my production server, even a reboot didn't help.

What can cause this error? Where can I look? I am sure I am missing something simple, but I have not been able to figure it out.