Previewing a Report kills Visual Studio 2019

DavidPendleton-7654 26 Reputation points
2021-11-29T04:18:35.09+00:00

Yesterday, I was able to preview reports in Visual Studio. Today, that activity crashes Visual Studio. No error, no warning, Visual Studio is just gone.

Visual Studio is Community 2019, and updated.
Reporting Services Projects is 2.6.11; it has been uninstalled and reinstalled with no effect.

I even resorted to an reinstall of Visual Studio; no luck. I can open and edit the project and reports just fine. My work laptop (same versions as above) opens the same project and previews reports with no problem.

The event log shows the following error every time this occurs:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
at Microsoft.DataWarehouse.VsIntegration.Shell.Project.Configuration.ProjectConfigurationManager.Microsoft.DataWarehouse.VsIntegration.Shell.Project.Configuration.IProjectConfigurationManager.get_CurrentConfiguration()
at Microsoft.ReportDesigner.Design.ProjectReportDesigner.EditorWindow_ActiveViewChanged(System.Object, System.EventArgs)
at Microsoft.DataWarehouse.Design.EditorWindow.OnActiveViewChanged(System.EventArgs)
at Microsoft.DataWarehouse.Design.EditorWindow.outlookBar_SelectionChanged(System.Object, System.EventArgs)
at Microsoft.DataWarehouse.Controls.OutlookBar.OnSelectionChanged(System.EventArgs)
at Microsoft.DataWarehouse.Controls.OutlookBar.set_SelectedIndex(Int32)
at Microsoft.DataWarehouse.Controls.OutlookBar.toolBar_OnButtonClick(System.Object, System.Windows.Forms.ToolBarButtonClickEventArgs)
at System.Windows.Forms.ToolBar.OnButtonClick(System.Windows.Forms.ToolBarButtonClickEventArgs)
at Microsoft.DataWarehouse.Controls.VsStyleToolBar.OnButtonClick(System.Windows.Forms.ToolBarButtonClickEventArgs)
at System.Windows.Forms.ToolBar.WmReflectCommand(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ToolBar.WndProc(System.Windows.Forms.Message ByRef)
at Microsoft.DataWarehouse.Controls.VsStyleToolBar.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

Once this happens, I can no longer open the Extension Manager, instead I see the following:

153213-image.png

Also, Visual Studio will usually prompt me after a restart to disable the extension. If I do, I can open the Extension Manager again.

153127-image.png

This is quite a problem, can anyone help?

Thanks all.

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,066 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Isabellaz-1451 3,616 Reputation points
    2021-11-29T08:22:05.08+00:00

    Hi @DavidPendleton-7654

    I think this is a long-standing bug, for I saw people submit related error on the feedback site: https://developercommunity.visualstudio.com/t/extensions-and-updates-fails-to-open/264493
    You can submit it to the Microsoft feedback at this link: https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0
    The feedback you share in the forum will be monitored and reviewed by the Microsoft engineering teams.

    Best Regards,
    Isabella


    If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.