Microsoft Knowledge Base Email Alertz

(199815) - 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.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 199815 - Last Review: February 24, 2004 - Revision: 4.1

PRB: E_FAIL Message When Accessing OLAP BobsVid.cub File

This article was previously published under Q199815

On This Page

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

APPLIES TO
  • Microsoft SQL Server OLAP Services
  • Microsoft OLE DB 2.0
Keywords: 
kbdatabase kbprb kbprovider KB199815
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate