Hi @D2d3d4d5
Welcome to Microsoft Q&A platform and thanks for posting your query here.
It looks like your SSAS project is not able to connect to the local integrated workspace in Visual Studio. Since deleting the temporary files helps temporarily, the issue might be with how the workspace database is being managed.
Here are a few things you can try:
- Check if SSAS is running in VertiPaq mode - Open Task Manager and look for the msmdsrv.exe process. If it’s not running, the workspace server might not be starting properly.
- Restart the Integrated Workspace Server - In Visual Studio, go to Tools > Options > Analysis Services Tabular Projects and check if you can restart the workspace database from there.
- Manually Start the Local SSAS Instance - Open SQL Server Management Studio (SSMS) and try connecting to localhost:51334 (the default SSAS Tabular workspace port). If it doesn’t connect, the workspace may not be starting correctly.
- Clear and Rebuild the Workspace - Instead of deleting files every time, try clearing the workspace database from Visual Studio > Tabular Model Explorer and then rebuild the model.
- Check for Conflicts in the Model.bim File - Since this issue happens when making changes, there could be a conflict in the metadata files. You can try creating a new Tabular project and importing the existing model.
If the problem keeps coming back, you might want to reinstall the Microsoft Analysis Services Projects extension in Visual Studio or try using a different version of Visual Studio 2019.
Hope this helps! Let me know if you need more details.
Kindly consider upvoting
the comment if the information provided is helpful. This can assist other community members in resolving similar issues.