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:
Also, Visual Studio will usually prompt me after a restart to disable the extension. If I do, I can open the Extension Manager again.
This is quite a problem, can anyone help?
Thanks all.