Reputation: 33
I'm working with SQL Server Management Studio 20 and Visual Studio 2019 on a project involving the Wide World Importers (WWI) sample database. Although the deployment of the project through Visual Studio proceeds without issues, I encounter several errors when attempting to process the City
dimension in SQL Server Analysis Services (SSAS).
Environment
Issue
During the processing of the City
dimension, the following errors occur:
The following system error occurred: A device attached to the system is not functioning.
OLE DB or ODBC error: Invalid object name 'Cube.City'.; 42S02.
The project deploys without issues, but processing fails consistently with these errors.
Here are the steps I've tried:
Here’s a snippet of the XMLA command used for processing:
<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Object>
<DatabaseID>WideWorldImportersMD</DatabaseID>
<DimensionID>City</DimensionID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>
Screenshot of the Process Progress log:
Processing Dimension 'City' failed
Questions
Upvotes: 1
Views: 99
Reputation: 346
Did you happen to rename the sample database? The Wide World Importers sample should be pointing to WideWorldImportersDW, not WideWorldImportersMD.
Here is a link to the latest release of the sample databases: https://github.com/Microsoft/sql-server-samples/releases/tag/wide-world-importers-v1.0
Here is a link to the SSAS project, which points to WideWorldImportersDW: https://github.com/microsoft/sql-server-samples/tree/master/samples/databases/wide-world-importers/wwi-ssasmd
Inside that database, the City dimension is under the "Dimension" schema, as seen in the screenshot below. That is what the SSAS project should be referencing, not "Cube.City".
I hope this helps. Image of SQL Server Management Studio object explorer, focusing on wide world importers database
Upvotes: 0