Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon Failed: null password given error

Status
Not open for further replies.

pradnyas

Programmer
May 29, 2003
2
IN
Hi!
I am trying to open a report from VB 6.0. report is prepared using Crystal Report 9.0 . code to log on the sever is as below.

CRXReport.Database.LogOnServer "crdb_odbc.dll", "dfcora", "orcl", "dfc", "dfc123"

rptnm = "BankMaster.rpt"
Set CRXReport = CRXApplication.OpenReport(App.Path & "\" & rptnm)

Crystalreport1.ReportSource = CRXReport
Crystalreport1.ViewReport


it gives error:
Logon failed.
Details: 28000[Oracle][ODBC][Ora]ORA-01005: null password given: logon failed.

Please tell me if anything wrong i am doing here.
Thanks in advance
Prads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top