[RESOLVED] Crystal report viewer: Logon failed (VB 6.0)
Dear all,
There is an error message "Logon Failed" on one of the user's pc while he was trying to preview for certain reports, he could view the rest of the reports without any error message prompted. Besides, there is no problem for developer's pc and other users pc to view the reports. The system is written by using VB 6.0 and intergrated with CR IX. Does anyone could help?? Thanks.
Re: Crystal report viewer: Logon failed (VB 6.0)
Is it a runtime error? Sorry i am not familiar with Crystal Report viewer.
Re: Crystal report viewer: Logon failed (VB 6.0)
it is not a runtime error. there is no error while debugging and compilling. The error was only prompted out to end user's. Only 1 of the report has error among the 40 reports in the system. That is weird.
Re: Crystal report viewer: Logon failed (VB 6.0)
Re: Crystal report viewer: Logon failed (VB 6.0)
For remote database server we have to add this line before setting the Crystal report viewer report source
Code:
rpt1.SetDatabaseLogon ("username", "password");
Also check for any version incompatibility.
Re: Crystal report viewer: Logon failed (VB 6.0)
I dont set any password or security level on my reporting.