Information générale
Catégorie:
COM, DCOM et OLE automation
Titre:
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.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement