Visual Studio 2019 Community crashes (BI Add-ins) Version 16.11.26

Arjan Fraaij 0 Reputation points
2023-04-22T08:26:12.1433333+00:00

Hi People, To start I did a clean install again of VS 2019 Community edition version 16.11.26 because of this issue. Installed Extensions are:

  • Microsoft Analysis Services Projects 2.9.18
  • SQL Server Integration Services Projects 4.4
    • There is an update warning to update to 4.4.2, this wil not install and is regonized by Microsoft as a known issue.
  • BI Developer Extensions for Visual Studio 2019 2.4.1 Replay when Issue Occures:
  1. Visual Studio started
  2. Open a Tabular solution
  3. Using a External Workspace database on a running SSAS services
  4. Seem to be able to work in the solution
    1. Creating data sources
    2. Importing data
    3. Managing relationships
    4. etc.
  5. Opening navigation pane Solution Explorer
  6. Right klik the Solution
  7. Klik
    User's image
  8. Because solution already exists in SC getting message:
    User's image
  9. Without clicking anything VS crashes without warning and below errors are shown in EventViewer. First:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
   at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr, IntPtr, IntPtr, Int32)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler.CoInternetGetSession(UInt32, IInternetSession ByRef, UInt32)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler+AsyncPluggableProtocolSession..ctor(System.Type, System.Object, System.String)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler.Initialize()
   at Microsoft.VisualStudio.Services.Client.Controls.VssFederatedCredentialPrompt.InvokeDialog(IntPtr, System.Object)

Exception Info: Microsoft.VisualStudio.Services.Client.Controls.BrowserFlowException
   at Microsoft.VisualStudio.Services.Client.Controls.VssFederatedCredentialPrompt.InvokeDialog(IntPtr, System.Object)
   at Microsoft.VisualStudio.Services.Client.Controls.DialogHost+<>c__DisplayClass0_1.<InvokeDialogAsync>b__0()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()


Second:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
   at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr, IntPtr, IntPtr, Int32)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler.CoInternetGetSession(UInt32, IInternetSession ByRef, UInt32)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler+AsyncPluggableProtocolSession..ctor(System.Type, System.Object, System.String)
   at Microsoft.VisualStudio.Services.Client.Controls.ComBrowserHandler.Initialize()
   at Microsoft.VisualStudio.Services.Client.Controls.VssFederatedCredentialPrompt.InvokeDialog(IntPtr, System.Object)

Exception Info: Microsoft.VisualStudio.Services.Client.Controls.BrowserFlowException
   at Microsoft.VisualStudio.Services.Client.Controls.VssFederatedCredentialPrompt.InvokeDialog(IntPtr, System.Object)
   at Microsoft.VisualStudio.Services.Client.Controls.DialogHost+<>c__DisplayClass0_1.<InvokeDialogAsync>b__0()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

Also a earlier error occures after opening the tabular solution, only does not crashes Visual Studio:
The description for Event ID 25 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: msmdsrv.rll 1043 Please help to find what is causing this and how to solve?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,681 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,249 questions
{count} votes