FIX: You receive an "ORA-01012" error message when you connect to an Oracle database by using MSDAORA (834905)
The information in this article applies to:
- Microsoft Data Access Components 2.8
- Microsoft Data Access Components 2.7 SP1
SYMPTOMSYou connect to an Oracle database by using the Microsoft OLE
DB Provider for Oracle (MSDAORA), and then you end the connection on the server
side. When you open a new connection to the Oracle database from your
application, you receive the following exception error message: System.Data.OleDb.OleDbException: Unspecified error
ORA-01012: not logged on CAUSEWhen you end the connection to the Oracle database on the
server side while using MSDAORA, the broken connection is returned to the
connection pool. The connection pooling code incorrectly interacts with the ResetConnection property of MSDAORA. When this property is not supported by the
provider, the pooling code incorrectly interprets that the connection is reset,
and that the connection is a valid one. When the client code opens a new
connection, the broken connection that was returned to the connection pool may
be retrieved. Therefore, you receive the error message that is mentioned in the
"Symptoms" section.RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Microsoft Data Access Components (MDAC) 2.8 Date Time Version Size File name
---------------------------------------------------------
10-Mar-2004 04:22 2.80.1036.0 225,280 Msdaora.dll
10-Mar-2004 04:22 2000.85.1036.0 24,576 Odbcbcp.dll
10-Mar-2004 04:21 2.80.1036.0 442,368 Oledb32.dll
10-Mar-2004 04:21 2000.85.1036.0 401,408 Sqlsrv32.dll MDAC 2.7 Service Pack 1 Date Time Version Size File name
---------------------------------------------------------
10-Mar-2004 02:19 2000.81.9046.0 61,440 Dbnetlib.dll
10-Mar-2004 02:20 2.71.9046.0 221,184 Msdaora.dll
10-Mar-2004 02:15 2.71.9046.0 126,976 Msdart.dll
10-Mar-2004 02:15 3.520.9046.0 204,800 Odbc32.dll
10-Mar-2004 02:20 2000.81.9046.0 24,576 Odbcbcp.dll
10-Mar-2004 02:20 3.520.9046.0 98,304 Odbccp32.dll
10-Mar-2004 02:16 2.71.9046.0 417,792 Oledb32.dll
10-Mar-2004 02:19 2000.81.9046.0 471,040 Sqloledb.dll
10-Mar-2004 02:19 2000.81.9046.0 385,024 Sqlsrv32.dll NoticeThis hotfix is available as part of a cumulative hotfix package. When you receive this hotfix from Microsoft Product Support Services, the article number that is listed in the hotfix package will be 839801 for MDAC 2.8 or 836799 for MDAC 2.7 SP1. For more information, see the following article in the Microsoft Knowledge Base:
MDAC 2.8839801 FIX: Hotfixes are available for MDAC 2.8
MDAC 2.7 SP1836799 FIX: Hotfixes are available for MDAC 2.7 Service Pack 1
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.REFERENCESFor more information about the Microsoft OLE DB Provider for
Oracle, visit the following Microsoft Developer Network (MSDN) Web site: For
additional information, click the following article number to view the article
in the Microsoft Knowledge Base: 824684
Description of the standard terminology that is used to describe Microsoft software updates
The third-party products that this
article discusses are manufactured by companies that are independent of
Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the
performance or reliability of these products.
Modification Type: | Minor | Last Reviewed: | 10/25/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kbProvider kbconnectivity kbDatabase kbOracle kbfix kbQFE KB834905 kbAudDeveloper |
---|
|