FIX: "Not Enough Storage Is Available to Complete This Operation" with Oracle OLE DB Provider
This article was previously published under Q248668 On This PageSYMPTOMS
The following error message may appear when 5000 records or more are retrieved, and when each record contains 4 bytes of data:
8007000e Not enough storage is available to complete this operation.
With a client-side cursor (in other words, when an ActiveX Data Objects (ADO) Recordset's CursorLocation property is set to adUseClient), the following error occurs instead:
80004005 Data provider or other service returned an E_FAIL status
Note that the computer is not really out of memory. Microsoft OLE DB Provider for Oracle and its internal algorithm, which attempts to allocate a buffer to hold the rows, fails if the rowset size is 4 bytes or less.
RESOLUTION
To work around this problem, return recordsets larger than 4 bytes.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was corrected in MDAC 2.6. MORE INFORMATIONSteps to Reproduce the Problem
| Article Translations
|
Back to the top
