PDA

Click to See Complete Forum and Search --> : [RESOLVED] Crystal report viewer: Logon failed (VB 6.0)


anatasia
May 14th, 2007, 04:17 AM
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.

Paul M
May 14th, 2007, 04:25 AM
Is it a runtime error? Sorry i am not familiar with Crystal Report viewer.

anatasia
May 14th, 2007, 04:44 AM
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.

Hack
May 14th, 2007, 07:49 AM
Moved to reporting

amrita
May 14th, 2007, 08:20 AM
For remote database server we have to add this line before setting the Crystal report viewer report source


rpt1.SetDatabaseLogon ("username", "password");



Also check for any version incompatibility.

anatasia
May 14th, 2007, 10:54 PM
I dont set any password or security level on my reporting.