XL2000: Error Accessing Data in Offline OLAP Cube (210806)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Query
This article was previously published under Q210806 SYMPTOMS
In Microsoft Excel, when you use an Online Analytical Processing (OLAP) cube definition file (.oqy) to return data defined in an OLAP cube, you receive error messages similar to the following:
Excel was unable to get necessary information about this cube. The cube might have been reorganized or changed on the server.
Contact the OLAP cube administrator and, if necessary, set up a new data source to connect to the cube.
Cannot commit the dimension 'COM (OLE) error [during Open operation] The name C is not valid.'.
CAUSE
This problem occurs when field names for dimensions or levels defined in the OLAP cube definition file contain any of the following characters:
apostrophe (')
carat (^)
slash (/)
backslash (\)
colon (:)
These characters are not valid in field names for dimensions or levels in the OLAP definition file, although these are valid in Structured Query Language (SQL) queries.
WORKAROUND
To correct this problem, edit the .oqy file and rename the fields so that the names for the dimensions and levels do not include any of the characters mentioned in the "Cause" section.
To rename fields in the OLAP definition file, follow these steps:
- Start Microsoft Query. If you do not have Microsoft Query installed, start the Setup program and install it.
- Open the .oqy file into Microsoft Query.
This starts the OLAP Cube Wizard. - Click Next to go to Step 2.
- In Step 2, right-click the field name that you need to rename. On the shortcut menu, click Rename. Remove the invalid characters or rename the field.
Note that the field names you type here will appear in the PivotTable report in Microsoft Excel and do not have to be the same name as the fields in the source database.
- Click Next to go to Step 3.
- Choose any of the options in Step 3 to create the offline OLAP cube file. Click Help for more information about these options.
- Click Finish. In the Save As dialog box, click Save to save the .oqy file.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about creating OLAP cubes, click Microsoft Query Help on the
Help menu, type About OLAP queries in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 10/6/2003 |
---|
Keywords: | kbbug kberrmsg kbpending KB210806 |
---|
|