 |
edison7 Level: Trainee
 Registered: 08-06-2005 Posts: 2
|
[HELP] Seagate Crystal Reports: Database Error
I get the error messages as following when i try to open a crystal report. I'm using VB. Please help.
Seagate Crystal Reports: Database Error
----------------------------------------
Can not initialize OLE.
Seagate Crystal Reports: Database Error
----------------------------------------
Can not create DAO DBEngine.
Seagate Crystal Reports: Database Error
----------------------------------------
Error opening file.
File could not be opened: "Report" at file location "Report"
|
|
08-06-2005 at 05:19 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: [HELP] Seagate Crystal Reports: Database Error
I assume you are getting this error after distributing program on client's machine. The error is most probably raised because you didnt distribute some database files (like dao360.dll for example). So, you should first find info on their site on what files are needed to be distributed in order CR to work. Look exactly for your version of CR, cause dependancy files differ from version to version.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
08-06-2005 at 09:49 AM |
|
|
edison7 Level: Trainee
 Registered: 08-06-2005 Posts: 2
|
Re: [HELP] Seagate Crystal Reports: Database Error
quote: Goran wrote:
I assume you are getting this error after distributing program on client's machine. The error is most probably raised because you didnt distribute some database files (like dao360.dll for example). So, you should first find info on their site on what files are needed to be distributed in order CR to work. Look exactly for your version of CR, cause dependancy files differ from version to version.
Yes, i get these errors after distributing program on client's machine. I copied and registered the dao360.dll and solved the previous 2 errors. Now the only left one error message: Error opening file.File could not be opened: "Report" at file location "Report"
I tried so hard but still failed to solve this error. Any ideas? Thx.
|
|
08-06-2005 at 11:33 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: [HELP] Seagate Crystal Reports: Database Error
Well, it is hard to say what exactly is causing this error. Could be the connection string is pointing to wrong path for database (since usually client's database is not at the same location as it was on development machine). Also, could be you are still missing some dependancy files. If for example, you install crystal reports on clients machine, and application works fine, then you will know it is some CR file(s) you are missing. If still doesnt work, then it is the problem in connection string. Make sure you are poitning to new database location
For Each tbl In rpt.Database.Tables
tbl.SetLogOnInfo App.Path & "\dbName.mdb"
Next tbl |
where rpt is CRAXDRT.Report, and tbl is CRAXDRT.DatabaseTable
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
08-06-2005 at 02:15 PM |
|
|
|
|
 |
 |