Microsoft KB Archive/319489

= ACC97: &quot;Function or Interface Marked As Restricted&quot; Error Message When You Try to Open a Database =

Article ID: 319489

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



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)
 Restart your computer and press and hold down the CTRL key until you see the Startup menu. From the Startup menu, click Command Prompt Only. At the command prompt, type

regsvr32 dao350.dll

and then press ENTER. Type exit, and then press ENTER. Restart your computer.</ol>

Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP
<ol> Click Start, and then click Run.</li> In the Open box, type cmd, and then click OK.</li> At the command prompt, type

regsvr32 dao350.dll

and then press ENTER.</li> Type exit, and then press ENTER.</li> Restart your computer.</li></ol>

<div class="references_section">