PRB: Visual Basic 5.0 Setup Error: DAO350.DLL File In Use

Last reviewed: March 9, 1998
Article ID: Q182150
The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0

SYMPTOMS

Setup of Visual Basic 5.0 fails with the following error:

   Setup cannot register DAO350.DLL because an older version is in use.

CAUSE

The computer has a network installation of Office 97 with the shared files (including DAO350.DLL) on the network server in a read-only folder.

RESOLUTION

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

There are two primary solutions to this error:

  1. Remove the registry key that points to the server directories. The Visual Basic 5.0 setup should proceed successfully. Copy the necessary files to the local drive, and remake the required registry entries. The other Office applications will not be affected.

          HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\DAO350
    

  2. Perform the Visual Basic 5.0 installation only when all users are off the server and with update permissions on the server. Network administrative policies may not allow this option.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The Visual Basic 5.0 setup process checks the registry for existing entries to DAO files and attempts to update them. If located on the local drive, DAO files would be placed in following location:

   Program Files\Common Files\Microsoft Shared\DAO\

If Office is installed with shared files residing on the network, the folder with DAO350.DLL file is read-only, and the user may not have permissions to write to that server directory. In this case, updates cannot not be made and the setup process fails.

Microsoft Office97 installs DAO350.dll v3.50.3428 dated 11/17/96. Microsoft Visual Basic 5.0 installs v3.50.3602 dated 12/5/96.

The registry key for the shared location of DAO 3.5 files is:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\DAO350
Keywords          : vb5all VBKBEnv VBKBNet VBKBSetup VBKBVB
Technology        : dao
Version           : WINDOWS:5.0
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.