I am on a Windows 7 64 bit machine running Visual Studio 2017 Enterprise 15.9.22, SQL Server Data Tools 15.1.62002.01090, SQL Server Management Studio 15.0.18330.0. I have been working on SQL Server Analysis Services 2019 tabular model for several weeks now and last Friday I was no longer able to open the Model.bim file. I can still open and run an SSIS package that reads from the SSAS Server. This only happens when I try to open the Model.bim.
The first error messages that I began receiving were that it could no longer find the localhost workspace server.
Tabular Model Designer - You cannot open the BIM file
After getting this error message I switched the Integrated Workspace Mode to False and then added our DEV SSAS 2019 server in the Workspace Server field.
I did not add/remove any programs prior to this happening, however my IT team installed CrowdStrike on my client the night before it stopped working. They went in and uninstalled it but the error messages are still there. Since then CrowdStrike has been re-installed.
Resolution Steps attempted: I applied the updates to Visual Studio 2017 and SQL Server Management Studio. I have uninstalled and reinstalled Visual Studio. I have tried removing components to simplify the installation, but I always end up with the same errors.
Latest Windows Update: Was about 15 days ago, but I was able to open this same Model.bim file 4 days ago.
First error message after changing to Development environment as workspace server... Tabular Model Designer - An error occurred while opening the model on the workspace database. Reason: The type initializer for 'Microsoft.AnalysisServices.BackEnd.DAXServices' threw an exception
============================ Error Message:
An error occurred while opening the model on the workspace database. Reason: The type initializer for 'Microsoft.AnalysisServices.BackEnd.DAXServices' threw an exception.
============================ Call Stack:
at Microsoft.AnalysisServices.VSHost.VSHostManager.PrepareSandbox(Boolean newProject, Boolean& isRefreshNeeded, Boolean& isImpersonationChanged, Boolean& saveRequired, List`1& truncatedTables, Boolean isRealTimeMode, Int32 clientCompatibilityLevel) at Microsoft.AnalysisServices.VSHost.Integration.EditorFactory.CreateEditorInstance(UInt32 grfCreateDoc, String pszMkDocument, String pszPhysicalView, IVsHierarchy pvHier, UInt32 itemid, IntPtr punkDocDataExisting, IntPtr& ppunkDocView, IntPtr& ppunkDocData, String& pbstrEditorCaption, Guid& pguidCmdUI, Int32& pgrfCDW)
============================
After getting the first error message, any time trying to open the Model.bim after that gives the following error message... devenv.exe - Application Error: The instruction at 0x7733e8fb referenced memory at 0x41980024. The memory could not be read
I tried to hit Cancel to go into the debugger, but it crashes VS2017 too fast and I get the following message... Unable to attach to the crashing process