SSAS File System Error

I received this error the other day when trying to process a particular SSAS cube:

Error      18           File system error: The following file is corrupted: Physical file: file:///\\%3f\E:\SQL\OLAP\Data\Options”>\\?\E:\SQL\OLAP\Data\Options BI QA.0.db\Dim Date.0.dim\1.Year No.bstore. Logical file .                                0              0

I also could not process or browse any cubes at all, even cubes that had nothing to do with this cube.  All gave this same exact error with the same file name even if the cube I was trying to process used a different file name.

When I went to SSMS, connected to Analysis Services, and renamed the cube, then everything worked.  I then deleted the “Options BI QA” cube.

The reason for this error message is the cube file in the file system is corrupted.  You can’t fix the issue by just redeploying the cube.  When you try to deploy the cube, you will get the same error message and the deployment process will fail.

After I fixed this issue I did some research and found a forum post that had the same problem with a different solution:

1. Stop the Analysis Services service
2. Delete everything in the C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\%YOUR_PROJECTNAME% folder
3. Restart the Analysis Services service
4. Connect to the Analysis Service using SQL Server Management Studio
5. Delete the Analysis Service database which you got the error
6. Re-deploy the SSAS project

Either solution will work, with the solution I came up with an easier to do, but maybe might not work in ever case so it’s good to have another option.

About James Serra

James is a big data and data warehousing solution architect at Microsoft. Previously he was an independent consultant working as a Data Warehouse/Business Intelligence architect and developer. He is a prior SQL Server MVP with over 25 years of IT experience.
This entry was posted in SQLServerPedia Syndication, SSAS. Bookmark the permalink.

7 Responses to SSAS File System Error

  1. rajendar says:

    Thanks for nice post!! It saved my life today 🙂

  2. eEe says:

    the same error I encounter, I used to delete the cube database and redeploy the SSAS project, but the error keeps recurring every month, not sure if it happens to you. So redeploying the SSAS project is a temporary solution, is there a permanent solution for this?

  3. bloger7791 says:

    Thanks. It’s realy usefull

  4. Aftab says:

    Thanks James.
    Your post has saved my life today..
    Thanks for such a great post.

  5. nils says:

    2016> Save me too. Thanks 🙂

  6. yogi says:

    Thanks it works for me. services restart also worked for me. frequently i am facing this issue, why this is happening do you have any idea ?