Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: Connectivity Issue with MDAC and Oracle8i

View products that this article applies to.


When you attempt to connect to an Oracle 8i database by using the Oracle 8i client and the Microsoft Oracle ODBC Driver (MSORCL32.DLL) version 2.573.4403 (or later) or the MS Oracle Provider (MSDAORA.DLL) version 2.50.4403.0 (or later), you may receive the following error message:
Error: "SQLSTATE: NA000
Native error code: 0
Driver Message: [Microsoft][ODBC Driver for Oracle][Oracle]
Do you need any suggestions to avoid the error?"

↑ Back to the top


Different registry entries are necessary to ensure that various Oracle OCI versions operate correctly. To enable the OLE DB Provider or the ODBC Driver for Oracle to work with Oracle client software, the client's registry must be modified. The MDAC installation may not register the required registry entries.

↑ Back to the top


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

Change the registry setting as described in the "Known Issues for MDAC 2.5 RTM (2.50.4403.12)" section of the following release manifest: The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

↑ Back to the top

More information

MDAC 2.5 is the first supported version of Microsoft Data Access Components for Oracle8i. You can download the latest version of MDAC from the following location: The table below shows the registry entries for each version of the Oracle Client described on the MDAC 2.5 Release Manifest webpage. These changes will also need to be made for MDAC 2.6 and 2.7.

Oracle ClientWindows NT or Windows 9xWindows 2000 or Windows XP
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer] "OracleXaLib"="xa73.dll" "OracleSqlLib"="SQLLib18.dll" "OracleOciLib"="ociw32.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI] "OracleXaLib"="xa73.dll" "OracleSqlLib"="SQLLib18.dll" "OracleOciLib"="ociw32.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer] "OracleXaLib"="xa80.dll" "OracleSqlLib"="sqllib80.dll" "OracleOciLib"="oci.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI] "OracleXaLib"="xa80.dll" "OracleSqlLib"="sqllib80.dll" "OracleOciLib"="oci.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer] "OracleXaLib"="oraclient8.dll" "OracleSqlLib"="orasql8.dll" "OracleOciLib"="oci.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI] "OracleXaLib"="oraclient8.dll" "OracleSqlLib"="orasql8.dll" "OracleOciLib"="oci.dll"

For Microsoft Windows 2000 or Windows XP systems:
  1. Run RegEdit.
  2. Under the following RegKey, edit OracleOciLib, and then set it to the correct values in the previous table:
    NOTE: If this key has not been added automatically by setup, add "OracleOciLib" to the registry.
For Microsoft Windows NT 4.0 or Microsoft Windows 95 or Windows 98 systems:
  1. Run RegEdit.
  2. Under the following RegKey, edit OracleOciLib and set it to the correct values in the previous table:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Transaction Server\Local Computer\My Computer
    NOTE: This key must be added manually using RegEdit.

↑ Back to the top


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
239719 INFO: Supportability of the Microsoft ODBC Driver/ OLE DB Provider for Oracle w.r.t Oracle 8.x
244661 FIX: Microsoft Oracle ODBC Driver and Provider Support Connectivity to Oracle 8i

↑ Back to the top

Keywords: KB264012, kbprovider, kbprb, kboracle, kbdatabase

↑ Back to the top

Article Info
Article ID : 264012
Revision : 10
Created on : 5/17/2007
Published on : 5/17/2007
Exists online : False
Views : 425