Visual studio 2017 SQL Server Management Studio 17.9在使用固定选项卡时崩溃

Visual studio 2017 SQL Server Management Studio 17.9在使用固定选项卡时崩溃,visual-studio-2017,ssms,sql-server-2017,Visual Studio 2017,Ssms,Sql Server 2017,由于工作原因,我需要在我的笔记本电脑、SQL Server Management Studio和Visual Studio 2017 Dev上安装最新的SQL Server(所有最新版本均可从Microsoft网站下载) 在我安装VS 2017之前,一切都很好(有很多选项-总安装量约为50GB,反映了正在完成的工作)。完成后,当我在选项卡之间切换时,SSMS崩溃。对我在选项卡A中打开了查询A,然后在选项卡B(连接到同一服务器)中打开了查询B,当我单击刚刚加载的查询B时(在Windows资源管理器

由于工作原因,我需要在我的笔记本电脑、SQL Server Management Studio和Visual Studio 2017 Dev上安装最新的SQL Server(所有最新版本均可从Microsoft网站下载)

在我安装VS 2017之前,一切都很好(有很多选项-总安装量约为50GB,反映了正在完成的工作)。完成后,当我在选项卡之间切换时,SSMS崩溃。对我在选项卡A中打开了查询A,然后在选项卡B(连接到同一服务器)中打开了查询B,当我单击刚刚加载的查询B时(在Windows资源管理器中双击并使用默认的.sql文件关联)-boom:没有错误消息,没有警告。SSMS显示方向盘转动5秒,然后重新启动

很明显,在这一点上它是不可用的,但是在我用核武器攻击Windows并重新安装之前,有没有人有过类似的问题并找到了原因

已尝试SSMS修复、VS修复、SSMS重新安装、VS重新安装、SSMS卸载然后重新安装、SQl卸载+SSMS uninstall+VS卸载(出现问题,因为VS安装程序需要更新,然后无法卸载整个VS,必须逐个应用手动完成),然后按Microsoft建议的顺序重新安装:SQl Server、SSMS、,再次VS-在VS安装完成之前工作正常

谢谢你的帮助

进一步调查后:需要固定其中一个卡舌才能发生碰撞。但是当我扣上任何账单的时候。。。都没了。所以SSM和VS之间可能没有链接,但现在已经复制了3次:打开选项卡,锁定,打开另一个选项卡,先单击,然后再单击第二个,然后崩溃

经过一段时间和进一步调查(2018年10月11日):

这个问题又发生在我身上。但目前还不清楚是DisplayPort还是Displaylink到DP(因为我仍在使用port replicator,利用Displaylink解决方案),这就是原因,因为我的笔记本电脑没有DP输出,只有HDMI。我也不能在其他工作站上复制问题,而不破坏其他人的东西

到DisplayPort的链接仍然存在,因此切换到HDMI仍然是一个有效的解决方法(如我下面的回答),但问题肯定是源软件,在某种程度上与Visual Studio有关。或者至少在事件查看器中显示此错误的内容:

应用程序:Ssms.exe框架版本:v4.0.30319说明: 由于未处理的异常,进程已终止。例外信息: System.Windows.Rect.set_高度处的System.ArgumentException(双精度) 在 Microsoft.VisualStudio.PlatformUI.Shell.DraggedTabInfo.NormalizeTabHeight() 在 Microsoft.VisualStudio.PlatformUI.Shell.DraggedTabInfo.ExpandTabStripCore() 在 Microsoft.VisualStudio.PlatformUI.Shell.DraggedTabInfo.MeasureTabStrip() 在 Microsoft.VisualStudio.PlatformUI.Shell.Controls.DockPreviewWindow.OnPanelLayoutUpdate(System.Object) 在 Microsoft.VisualStudio.PlatformUI.Shell.Controls.DockPreviewWindow.OnPanelLayoutUpdate(System.Object, System.Windows.RoutedEventArgs)位于 System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)位于 System.Windows.EventRoute.InvokeHandlerSimp(System.Object, System.Windows.RoutedEventArgs,布尔值)位于 System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)位于 System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
在 Microsoft.VisualStudio.PlatformUI.Shell.Controls.ReorderTabPanel.OnLayoutUpdated(System.Object, System.EventArgs)在 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()位于 System.Windows.ContextLayoutManager.UpdateLayout()位于 System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object) 在System.Windows.Media.MediaContext+InvokeRenderCallback.DoWork()上 在System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()上 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object) 在 System.Windows.Media.MediaContext.RenderMessageHandler(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, 对象,Int32)在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate,System.Object,Int32,System.Delegate)位于 System.Windows.Threading.DispatcherOperation.InvokeImpl()位于 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object,布尔值)位于 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object,布尔值)位于 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object)位于 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback,System.Object)位于 System.Windows.Threading.DispatcherOperation.Invoke()位于 位于的System.Windows.Threading.Dispatcher.ProcessQueue() System.Windows.Threading.Dispatcher.WndProcHook(IntPtr、Int32、IntPtr、, 在MS.Win32.HwndWrapper.WndProc(IntPtr, Int32,IntPtr,IntPtr,Boolean ByRef)在 位于的MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, 对象,Int32)在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate,System.Object,Int32,System.Delegate)位于 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan、System.Delegate、System.Object、Int32)位于 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr)

<