PRB: ADODB Out-of-Process Error with Microsoft OLAP Using Properties in SQL Statement (234482)
The information in this article applies to:
- Microsoft Data Access Components 2.1 (GA)
- Microsoft Data Access Components 2.1 SP1
- Microsoft Data Access Components 2.1 SP2
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q234482 SYMPTOMS If you try to use Properties in a SQL statement with an
out-of-process ADODB component, the Microsoft OLAP provider results in one of
the following error messages: (-2147467259) "The data
provider or other service returned an E_FAIL status." -or-
-2147217891 (80040e1d) Method 'GetRs' of object '_objRS'
failed. This works fine in-process. RESOLUTION If you need to use Properties in a SQL statement with an
Out of Process component you must use ActiveX Data Objects
(Multi-dimensional)(ADOMD) instead of ADODB with the Microsoft OLAP provider.
For an example of using ADOMD as a work around, see the References section of
this article. REFERENCES SQL Server Books Online; topic: "ADOMD"
231951 INF: Permissions That You Must Have to Administer an OLAP Server
199002 INF: Example Active Server Page to Access OLAP Services
Modification Type: | Major | Last Reviewed: | 9/22/2003 |
---|
Keywords: | kbDatabase kbprb KB234482 |
---|
|