FIX: Access Violation Occurs When Querying a Remote Index Provider

Article translations Article translations
Article ID: 269839 - View products that this article applies to.
This article was previously published under Q269839
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58203 (SQLBUG_70)
Expand all | Collapse all

SYMPTOMS

When querying a remote index provider with the Cindex OLEDB provider (OPTCIIOLEDB.dll) from Optika Inc., the following query plan generates an access violation:
|--Nested Loops(Inner Join)
|--Bookmark Lookup
| |--Index Seek
|--Bookmark Lookup
|--Index Seek
				
Various queries may cause the access violation. Whether or not a particular query is affected depends on the query plan that was chosen by the optimizer. Here is an example of a query that causes the error:
SELECT 
 main_1.ISSUED AS 'ISSUED',
 main_1.PCNumber AS 'PCNumber',
 main_1.CUST AS 'CUST',
 main_1.PONumber AS 'PONumber',
 main_0.SoldTO AS 'SoldTO'
FROM 
 optika..Catdata3.main AS main_0 ,
 optika..Catdata2.main AS main_1 
WHERE 
 main_1.PONumber = main_0.PONumber 
 AND main_1.PONumber = '106879' 
				

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.

MORE INFORMATION

The following stack dump will appear in the SQL Server Errorlog after the access violation occurs:
Short Stack Dump
0x0000003c Module(UNKNOWN+0)
0x00664702 Module(sqlservr+264702) (CQScanRmtRange::SetNewRange+23)
0x006647fe Module(sqlservr+2647fe) (CQScanRmtRange::GetRow+cc)
0x0065e784 Module(sqlservr+25e784) (CQScanProfile::GetRow+15)
0x00663e93 Module(sqlservr+263e93) (CQScanRmtFetch::GetRow+a2)
0x0065e784 Module(sqlservr+25e784) (CQScanProfile::GetRow+15)
0x00428790 Module(sqlservr+28790) (CQScanNLJoin::GetRow+120)
0x0065e784 Module(sqlservr+25e784) (CQScanProfile::GetRow+15)
0x0065e784 Module(sqlservr+25e784) (CQScanProfile::GetRow+15)
0x00410b66 Module(sqlservr+10b66) (CQueryScan::GetRow+10)
0x004103f5 Module(sqlservr+103f5) (CStmtQuery::FExecuteQuery+441)
0x0041738d Module(sqlservr+1738d) (CStmtSelect::XretExecute+1cf)
0x0040ebe0 Module(sqlservr+ebe0) (CMsqlExecContext::ExecuteStmts+11a)
0x0040e68e Module(sqlservr+e68e) (CMsqlExecContext::Execute+16a)
					

Properties

Article ID: 269839 - Last Review: October 21, 2013 - Revision: 2.1
APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix KB269839

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com