General information
Category:
COM, DCOM and OLE automation
Title:
Strange Crystal 9 Report Viewer behavior
Hi everyone -
I have a generic report viewer DLL that sets up everything needed to display a report, calls a secondary DLL to gather the data and create an ADO recordset, and then display the report. It works perfectly except for periodic problems with one report. When running, the viewer screen just flashes and then disappears. When I run it in debug I get the message "run-time error '-2147023170 (800706be)': Automation error The remote procedure call failed.' This is triggered on the frmMain.CRViewer1.ViewReport statement.
The really strange thing is that this is not concsistent. It only happens with the one report, but not all of the time.
Any help would be appreciated.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only