Method 'CurrentDB' of object '_Application' failed

A

adnan pirota

Whatever wizard I try to run in Access 2003 gives me the
following message:

Method 'CurrentDB' of object '_Application' failed

F1

Regards
 
A

Allen Browne

This is probably a References issue.

1. Press Ctrl+G to open the Immediate window.

2. Choose References from the Tools menu.

3. Uncheck the box next to:
Microsoft Access DAO 3.6 Library

4. Close Access

5. Open a Windows command prompt.

6. Type something like this (one line, including the quotes, path may be
different):
regsvr32 "c:\program files\common files\microsoft shared\dao\dao360.dll"

7. Open your database in Access again.

8. Press Ctrl+G, and choose References from the Tools menu again.

9. Check the box next to:
Microsoft Access DAO 3.6 Library

This should enable Access to find the CurrentDb object, which is part of the
DAO library. If it still fails, it is possible that the problem lies with
the wizard dll instead of the dao library, so you could try re-registering
that one.

If none of that works, re-installing Access/Office might also be a way to
solve the registration/reference problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top