Hello everyone !
I've had a weird problem during the last couple of days.
I downloaded a SSAS project from Azure to work on it with some people. I set it up to use "Integrated workspace", and I left everything else as default. The first time I opened it, it was fine, but when I changed the format of a measure and reopened the project, It gave me an error.
It says that the database "localhost" cannot be reached, and I need to verify if an instance is running in VertiPaq mode.
I created the SSAS project with "Integrated workspace", so I assumed the localhost instance would be working correcty.
The temporary fix is to delete the temporary files. More specificaly the "bin/Data/db.X.db" folder and the "bin/Data/db.X.db.xml" file.
Once this is done, I can reopen the project, but if I change any measure, the problem comes back.
Maybe Visual studio tries to load them into the local database, but it fails ?
How can I check that this database is running ?
I use Visual Studio 2019 16.11.40 with the "Microsoft Analysis Projects Services" addon version 2.9.18, and my OS is Windows 11 build 132.0.2957.140 (However I don't think it matters, as there was the same problem before).
My project is pretty small compared to most SSAS projects.
It uses the Integrated workspace, and everything else is default settings.
Do you know a fix for this ?
It's really wasting a lot of time to delete all the temporary files every time I need to work on the project.
I'll try to create the smallest reproducable example to give an idea of what is happening.
PS :
I also found that my problem is very similar to this one :
https://learn.microsoft.com/en-us/answers/questions/1462540/problems-opening-a-tabular-model-file-in-different
However, modifying the Model.bim_XXX.settings doesn't really help.
Visual studio automatically creates one for every user that opens the project, and everyone else that opens the project has the same problem.