cancel
Showing results for 
Search instead for 
Did you mean: 

DAO Error Code: 0xd0f Source: DAO.Fields

0 Kudos

we have a vb6 app that working with CR 10.

Newly after last windows 10 updates, including KB4480966, we cannot open our reports getting this error:

DAO Error Code: 0xd0f

Source: DAO.Fields

Any ideas how to fix the issue with these windows updates?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

DAO is no longer supported by a lot of programs.

Work around is to convert your reports to use ODBC.

Don

Answers (8)

Answers (8)

0 Kudos

The problem is users need to have different folders.

Working with one folder is not the solution here, I need to have a dynamic address.

0 Kudos

Try mapping the folder as a shared folder in Explorer.exe

0 Kudos

Hi Don,

really appreciate your help.

I have solved my problem with .dsn file. Thanks

I have an issue left now!

How could I have relative path for database?

the .dsn works fine with explicit file path like

DefaultDir=C:\reports

DBQ=C:\reports\myDB.MDB

But if user changes the \report folder, like "c:\myDir\reports" .rpt could not find the path.

I need the .dsn file connect to the database on relative (current) directory .

Appreciate.

0 Kudos

I have fixed it using ODBC.

Special thanks

0 Kudos

Thank you for your time Don.

I am with about the upgrade. but we are in the middle of an urgency!

I modified the reports to ODBC and ADO for test.

Fortunately, In both cases, the .rpt files open correctly in CR, means everything is set correctly I see the report and correct report values.

BUT, they could not be opened in VB6 correctly.

I get this error for ADO and almost the same for ODBC with less details (I don't have any username password on Access database)

Logon failed.      Details: ADO error Code: 0x80040e21     Source:Microsoft OLE DB Service Components                         Description: Multi-step OLE DB operation generated errors.Check each OLE DB status value, if Available. No work was done.

in VB6 I simply use CrystalActivexReportViewer to open the .rpt file, no connection set at all.

Appreciate your help.

0 Kudos

Soory no idea, VB 6 eand of life as well so no idea what parts it's going to use to connect to Access.

Search MSDN for any known issues with MS patches that break DAO.

0 Kudos

OK, I suggest contacting or looking on Microsoft's site what that error means.

TTX files are 32 bit only and uses the DAO engine so try installing the Office runtime, you'll have to check what version to use. It should update or install the 32 bit DAO engine.

Then look at converting all of your reports to ODBC.

Also, VB 6 has not been support by MS for a very long time.

Time to upgrade to .NET and CR for VS:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Don

0 Kudos

thank you for your attention.

We have handreds of report and need to convert them ASAP.

Could you please give me a link or some advise how to do it?