PRB: Ordinal 301 Error When Installing MDAC

ID: Q178211

The information in this article applies to:

SYMPTOMS

When installing the Microsoft Data Access Components (MDAC), version 1.5, you may see one of the following errors:

   The ordinal 301 could not be located in the dynamic link library
   ODBC32.dll

-or-

   A device attached to the system is not functioning.
   LoadLibraryEx() failed on:
   C:\Program Files\Common Files\system\ole db\msdasql.dll

CAUSE

One of these errors may be triggered when MDAC 1.5 attempts to register the Msdasql.dll file (the OLE DB Provider for ODBC Drivers) and the Odbc32.dll file on a computer that has not been updated to ODBC version 3.5.

MDAC 1.5 attempts to install ODBC version 3.5 during the same installation process. However, if any of the ODBC DLL files are currently loaded in memory, ODBC 3.5 is not completely installed until the next reboot. Msdasql.dll requires that the ODBC 3.5 files be completely installed; when the ODBC 3.5 files are not completely installed, an error message is generated.

RESOLUTION

Reboot the machine, and then run the MDAC installation program immediately before starting any other programs or services. The MDAC installation program should now complete successfully, because the updated ODBC 3.5 components are copied to their proper locations by Windows during the reboot process. This allows the rest of the MDAC components (ODBC drivers, OLE DB, ADO, RDS, and so on) to successfully finish installation.

REFERENCES

http://www.microsoft.com/data

Keywords          : mdacSetup 
Version           : WINDOWS:1.5
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: December 23, 1997