Need Help: a problem with crystal report and sql server!!!

Aug 28 2006 5:24 AM

I am developing an application that read data from a text file and store it in a database (sqlserver 2000) and after print a report (crystal report ) linked to this database:
the problem appears when I run the application and try to export the report to pdf or print it on a printer
an error message appears say
"System.Runtime.InteropServices.COMException(0x8004100F: Echec to connect to the database --> at CrystalDecision.ReportAppServer.Controllers.reportSourceClass.Export"

the report is linked to a  the database in a separate server windows 2000 and when i open the report from crystal report the report display the correct data, but when i try with application the error message appears