Click to See Complete Forum and Search --> : DAO Error code 0xbd7


jcr
March 30th, 2005, 04:56 PM
Hi
I have a button in vb calling crsytal reports 9 . These reports are opening in cr viewer. I have an access database secured with a password. I can open the report but when I go to enter new parameters in the cr viewer, I get this error.

"LOGON FAILED"
Details: DAO Error Code 0xbd7
Source: Dao.Workspace
Description: Not a valid Password

Im lost on this one and I would be grateful for some help.
Thanks!!

chanev
March 25th, 2007, 09:56 AM
Hello,
This is in C#, I thing it can help you :

crystalReportDocument1.DataSourceConnections[0].SetConnection(SERVER, Database, "USERNAME", "YOUR PASSWORD"); crystalReportViewer1.ReportSource = crystalReportDocument1;

I use Microsoft Access file, so I left the Username blank, and for Server and Database put the new path to my .mdb file.

I hope it helps.