FIX: .NET MDX Queries Fail When You Use the OleDbDataAdapter or OleDbDataReader Classes (317161)
The information in this article applies to:
- Microsoft SQL Server 2000 Analysis Services
This article was previously published under Q317161 BUG #: 12737 (Plato7X) SYMPTOMS When you run Multidimensional Expression (MDX) queries by
using the OleDbDataAdapter or OleDbDataReader classes, one of the following behaviors occur:
- The program stops responding (hangs) after executing
several queries.
- The program quits and you receive the following error
message:
Runtime Error R6025 - pure virtual function
call - The program quits unexpectedly before all the queries have
been run.
- The program quits and you receive the following error
message:
An unhandled exception of type
"System.StackOverflowException" occurred in mscorlib.dll - The program quits and you receive the following error
message:
A first chance exception of type
"System.Data.OleDb.OleDbException" occurred in system.data.dll
RESOLUTION To resolve this problem, obtain the latest
service pack for Microsoft SQL Server 2000. 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 NOTE: The following hotfix was created before the release of Microsoft
SQL Server 2000 Service Pack 3. The English version of this fix
should have the following file attributes or later:
Date Time Version Size File name
-------------------------------------------------------------------
01/22/2002 12:34 AM 8.0.569.0 2,011,728 bytes Msolap80.dll
NOTE: Because of file dependencies, the most recent hotfix or feature
that contains the files may also contain additional files. WORKAROUND To work around this behavior, use the XML for Analysis
Services provider or COM InterOperability. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This problem was first corrected in Microsoft SQL Server
2000 Service Pack 3.MORE INFORMATION The OleDbDataAdapter and the OleDbDataReader functions are derived from the .NET Framework class
System.Data.OleDb namespace. A .NET data provider describes a collection of
classes used to access a data source in the managed space. With the OleDbDataAdapter function, you have a set of data commands and database
connections that you can use to fill a dataset or update a data source. With
the OleDbDataReader function, you can read a forward-only stream of data rows from a
data source.
When you use a managed provider in .NET programs, to
connect to an Analysis Services data source, the OLAP provider returns a
flattened rowset instead of a multidimensional cellset. REFERENCESTo download the XML for Analysis Services SDK, visit the
following Microsoft Web site: XML
for Analysis SDK
Modification Type: | Major | Last Reviewed: | 4/4/2006 |
---|
Keywords: | kbSQLServ2000sp3fix kbBug kbfix kbSQLServ2000preSP3fix KB317161 |
---|
|