CR Cannot find database after printing to file

Free_Man

Member
Joined
Dec 18, 2007
Messages
6
Programming Experience
Beginner
I got a strange database connection after I deployed the software. I print crystal reports with

VB.NET:
CrystalReportViewer1.PrintReport()

It asks which printer I want to use, if I print by default printer(which is an actual printer) everything is fine but when I change the printer to Microsoft Image Printer(or called something like that), then it prints but just after then that, the program gives a database connection error saying program cannot find the database under My Documents\User_Name.

It's very understandable it can't find it there, as it's actually database is not located there. So why do you think it try to look for database somewhere else then application folder?!
 
Back
Top