PRB: E_FAIL Message When Accessing OLAP BobsVid.cub File

ID: Q199815


The information in this article applies to:


SYMPTOMS

The following error message appears when you try to use the BobsVid.cub sample cube file:

E_FAIL ("An unexpected internal error has occurred")
BobsVid.cub was distributed with the Microsoft Data Access SDK, version 2.0.


CAUSE

BobsVid.cub was created with a beta version of Microsoft OLAP services, and it is incompatible with the released version of that product.


RESOLUTION

Obtain or create a different cube file using the released version of Microsoft OLAP Services contained in SQL Server 7.0.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Run the DataSetViewer (dtstvwr.exe) sample application that ships with Data Access SDK, version 2.0. DTSTVWR.exe is located in the following path: C:\MSDASDK\SAMPLES\OLEDB\OLAP\DTSTVWR


  2. Click DataSource/Full Connect.


  3. The Full Connect dialog box appears. Select MSOLAP as the provider, and click Connect.


  4. The Multi-Dimensional Connection dialog box appears. Click the Cube File, and select BobsVid.cub. BobsVid.cub is located in the following path: C:\MSDASDK\SAMPLES\OLEDB\OLAP\DATA


  5. Click Finish.


  6. A Window appears in the dtstvwr.exe workspace.


  7. On the Session menu, click IDBSchemaRowset, and click GetRowset.


  8. The IDBSchemaRowset dialog box appears. Click OK.


  9. The following error message appears:


Interface: IID_IDBSchemaRowset
Result: 0x80004005=E_FAIL
IErrorInfo: An unexpected internal error has occurred.
File: C:\Projects\Tensor\Dtstvwr\CRowset.cpp
Line: 630
Even though you can successfully connect to BobsVid.cub OLAP data source, the error occurs when you try to use certain OLE DB interfaces, such as IDBSchemaRowset::GetRowset or ICommand::ExecuteDataset (the latter is when the MDX statement is executed).

If you are using an application like the MDXSample (included with SQL 7.0 OLAP Services and with Data Access SDK, version 2.0), it reports the following error when you select the cube after a successful connection to to BobsVid.cub OLAP data source:
An unexpected internal error has occurred

Additional query words: MSOLAP


Keywords          : kbDatabase kbOLEDB kbProvider 
Version           : WINDOWS:2.0; winnt:7.0
Platform          : WINDOWS winnt 
Issue type        : kbprb 

Last Reviewed: June 8, 1999