SSMS 18.1 で Diagram が復活した - お だ のスペース で復活したって書いたけど、動き怪しい。。
18.1 の Diagram で作成したダイアグラムが何かの拍子に開けなくなった。
開くと SSMS が落ちて、イベントビューアーに以下のログが2つ。
障害が発生しているアプリケーション名: Ssms.exe、バージョン: 2019.150.18131.0、タイム スタンプ: 0x5cf90d8b 障害が発生しているモジュール名: DataDesigners.dll、バージョン: 2019.150.18131.0、タイム スタンプ: 0x5cf90d9f 例外コード: 0xc0000005 障害オフセット: 0x00004bce 障害が発生しているプロセス ID: 0x2ba8 障害が発生しているアプリケーションの開始時刻: 0x01d527c6577363fb 障害が発生しているアプリケーション パス: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe 障害が発生しているモジュール パス: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Tools\VDT\DataDesigners.dll レポート ID: 4636e7cd-14e3-4e46-8426-19349d2129d1 障害が発生しているパッケージの完全な名前: 障害が発生しているパッケージに関連するアプリケーション ID:
アプリケーション:Ssms.exe フレームワークのバージョン:v4.0.30319 説明: ハンドルされない例外のため、プロセスが中止されました。 例外情報:System.AccessViolationException 場所 Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr) 場所 Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr) 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr) 場所 Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register() 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext() 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate() 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(System.Object, Microsoft.VisualStudio.PlatformUI.Shell.ActiveViewChangedEventArgs) 場所 System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) 場所 Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.EventHandler`1<System.__Canon>, System.Object, System.__Canon) 場所 Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(Microsoft.VisualStudio.PlatformUI.Shell.View, Microsoft.VisualStudio.PlatformUI.Shell.ActivationType) 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags) 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__505_0() 場所 Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(System.Func`1<Int32>, Boolean, Boolean) 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show() 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame+MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__12_0() 場所 Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<Int32>) 場所 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame+MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show() 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Microsoft.SqlServer.Management.Sdk.Sfc.Urn, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentType, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentOptions, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IManagedConnection, System.String) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Microsoft.SqlServer.Management.Sdk.Sfc.Urn, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentType, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentOptions, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IManagedConnection, System.String) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Microsoft.SqlServer.Management.Sdk.Sfc.Urn, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentType, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentOptions, Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IManagedConnection, System.String) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IManagedConnection, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.DocumentOptions) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IManagedConnection) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke() 場所 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(System.Object, System.EventArgs) 場所 System.ComponentModel.Design.MenuCommand.Invoke() 場所 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DefaultMenuHandler.DoDefaultAction() 場所 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.DoDefaultAction() 場所 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyTreeView.WmLButtonDblClk(System.Windows.Forms.Message ByRef) 場所 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.LazyTreeView.WndProc(System.Windows.Forms.Message ByRef) 場所 System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) 場所 System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) 場所 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
sysdiagrams の中みてもさっぱり。
開けるダイアログもあるので、再現方法がわからん。。