Microsoft KB Archive/296905

= FIX: Data Mining Provider Stops Responding When Using Row Navigation through OLE DB API =

Article ID: 296905

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services

-



This article was previously published under Q296905



BUG #: 11327 (Plato7.x)



SYMPTOMS
When you issue a query by using the data mining provider, and an application or user navigates the recordset by using row navigation from the OLEDB API, the following OLEDB error message occurs:

-2147217916 (80040e4) Row handle is invalid



RESOLUTION
To resolve this problem, obtain the latest service pack for the Microsoft SQL Server 2000 (the Analysis Services Components - Sql2kasp1.exe). For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000 Analysis Services version 8.0. This problem was first corrected in the Analysis Services Components of Microsoft SQL Server 2000 Service Pack 1.



Steps to Reproduce Behavior
 Create a new Visual Basic Standard EXE project. Add a reference to the Microsoft Active Data Objects Library.  Add a Module to the project, and then add the following code: Public Sub Main Dim cn As New ADODB.Connection Dim cmd As New ADODB.Command Dim rs As New ADODB.Recordset On Error GoTo ErrH cn.Open &quot;Provider=MSDMINE;Mining Location=C:\Program Files\&quot; & _ &quot;Microsoft Analysis Services\Data\FoodMart 2000&quot; rs.Open &quot;SELECT t.num_children_at_home, t.marital_status,&quot; & _ &quot; t.yearly_income, [Member Card RDBMS].[Member Card] FROM&quot; & _ &quot;[Member Card RDBMS] PREDICTION JOIN OPENROWSET('Microsoft.Jet.OLEDB.4.0',&quot; & _    &quot;'data source=C:\Program Files\Microsoft Analysis Services\Samples\FoodMart 2000.mdb',&quot; & _     &quot;'SELECT [Customer_ID], num_children_at_home, marital_status, yearly_income&quot; & _     &quot; FROM Customer') AS t ON  [Member Card RDBMS].[Customer ID] = t.[Customer_ID]&quot; & _ &quot; AND [Member Card RDBMS].[Num Children at home] = t.num_children_at_home&quot; & _ &quot; AND [Member Card RDBMS].[marital status] = t.marital_status AND&quot; & _ &quot; [Member Card RDBMS].[yearly income] = t.yearly_income&quot;, cn rs.Move 4 Debug.Print rs.Fields(1).Value rs.Close cn.Close Exit Sub ErrH: MsgBox CStr(Err.Number) & vbCrLf & Err.Description, vbOKOnly + vbInformation, &quot;Error&quot; Err.Clear Resume Next End Sub  Execute the Visual Basic program.

Additional query words: -2147217916 (80040e4) Row handle is invalid OLAP

Keywords: kbbug kbfix kbsqlserv2000sp1fix kbssas800sp1fix KB296905

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.