BUG: Error Message: Error '80004005' Unexpected Error (225042)
The information in this article applies to:
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
This article was previously published under Q225042 SYMPTOMS
Within your MDAC code, you have multiple recordsets with the same recordset object that are created off of the same command and are also pointing to the same connection. The first recordset that is opened contains multiple recordsets within that same object. Before calling NextRecordset on that object, open another Recordset (new recordset object) and point the ActiveConnection property to the same command and connection to which at the other recordset object was pointing. This causes the following error when the Set rs = rs.NextRecordset is executed:
error '80004005'
Unspecified error
This error occurs in MDAC 2.0 and MDAC 2.1. It does not occur in MDAC 1.5.
RESOLUTION
Make sure that the ActiveConnection property of the Command object for the
first recordset is set only once throughout the page (especially if it contains multiple physical recordsets within the same recordset object) if the same connection is still being used.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in MDAC 2.5.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbBug kbMDAC250fix KB225042 |
---|
|