BUG: SQLOLEDB IRowset->GetNextRows() Causes Access Violation after Fetching 131,000 Rows (241897)
The information in this article applies to:
- Microsoft OLE DB Provider for SQL Server 7.01
This article was previously published under Q241897 SYMPTOMS
When you fetch a block of rows from SQL Server using the SQLOLEDB provider version 7.01.0690, you may encounter an Access Violation (av) when the block size (cRows) is greater than 607. The access violation occurs on the call to IRowset->GetNextRows that fetches row 131,000. If the cRows value is set to 607 or less, the access violation does not occur. The datatype of the fields being fetched or the number of fields does not have an effect on this bug.
RESOLUTION
Do not set the cRows parameter of IRowset->GetNextRows to a value greater than 607. Set the cRows parameter to 607 or less.
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.5.
Modification Type: | Major | Last Reviewed: | 8/23/2001 |
---|
Keywords: | kbbug kbDSupport kbMDAC250fix KB241897 |
---|
|