ACC97: "Function or Interface Marked As Restricted" Error Message When You Try to Open a Database (319489)



The information in this article applies to:

  • Microsoft Access 97

This article was previously published under Q319489
Novice: Requires knowledge of the user interface on single-user computers.

This article applies only to a Microsoft Access database (.mdb).

SYMPTOMS

When you try to open a Microsoft Access 97 database, you may receive the following error message:
Function or interface marked as restricted or the function uses an automation type not supported in Visual Basic.
The same database can be opened successfully on other computers.

CAUSE

The DAO 3.5 Object Library (DAO350.dll) is not registered correctly.

RESOLUTION

To resolve this issue, manually register DAO350.dll. To do this, use one of the following procedures, as appropriate for your operating system.

Microsoft Windows 98 and Microsoft Windows Millennium Edition (Me)

  1. Restart your computer and press and hold down the CTRL key until you see the Startup menu.
  2. From the Startup menu, click Command Prompt Only.
  3. At the command prompt, type

    regsvr32 dao350.dll

    and then press ENTER.
  4. Type exit, and then press ENTER.
  5. Restart your computer.

Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP

  1. Click Start, and then click Run.
  2. In the Open box, type cmd, and then click OK.
  3. At the command prompt, type

    regsvr32 dao350.dll

    and then press ENTER.
  4. Type exit, and then press ENTER.
  5. Restart your computer.

REFERENCES

For additional information about the DAO 3.5 Object Library, click the article number below to view the article in the Microsoft Knowledge Base:

175484 ACC97: References That You Must Set When You Work with Microsoft Access


Modification Type:MinorLast Reviewed:1/7/2006
Keywords:kberrmsg kbprb KB319489