Link to home
Start Free TrialLog in
Avatar of smpross
smpross

asked on

Crystal Reports Error message

Hi All,
We have created a C# remoting application that uses CR 10 for report writing.  Crystal gets the information from an XSD that we create and pass to Crystal.  We get an error message at times (I can not find a pattern) when a report is going to be displayed as follows:

CrystalDecisions.CrystalReports.Engine.DataSourceException: Unknown Query  Engine Error  
 
Error in File  
 
C:\DOCUME~1\GORDON~1\LOCALS~1\Temp\{57DDE6FF-72DE-4A03-946C-E317DF263410}.rpt:  
 
Unknown Query Engine Error ---> System.Runtime.InteropServices.COMException  
 
Unknown Query Engine Error  
 
Error in File  
 
C:\DOCUME~1\GORDON~1\LOCALS~1\Temp\{57DDE6FF-72DE-4A03-946C-E317DF263410}.rpt:  
 
Unknown Query Engine Error  

I have only found one other posting that has the same problem.  It is located here:
http://www.eggheadcafe.com/ng/microsoft.public.vb.crystal/post20450279.asp

No one ever answered the question, so I do not know what might be causing the problem.  Has anyone seen this problem before?  

Any help would be greatly appreciated.

Scott
ASKER CERTIFIED SOLUTION
Avatar of topdog770
topdog770
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smpross
smpross

ASKER

Thanks.  But the strange thing is that if I exit the application and restart the application and run the same report with the same parameters, the report runs fine.  Any ideas what might cause that?

Scott
Sorry, Scott.

My experts-exchange emails started getting treated as spam so I missed your original response.

Does your report have the Discard saved data option checked or unchecked..

another out there possibility.. are you doing trying to reintialize the com objects when running the report for the second time in your application.. OR cleaning up all of the com / crystal stuff and then trying to re-communicate?