小编Ada*_*dam的帖子

无法在 SSMS 中打开视图的设计

当我尝试打开视图的设计时,我收到此错误消息(您可以在下面看到)。它不会发生在表格中,只有在视图中并且只有当我尝试查看设计时才会发生,因此我能够从中检索数据,例如使用选择查询。因为我们将数据库移动到另一个虚拟服务器,所以我收到了这个错误。我在具有不同 Windows(7 和 10)和 SSMS(2008、2010、2012、2014)版本的不同计算机上进行了尝试。

在此处输入图片说明

标题:Microsoft SQL Server 管理工作室
------------------------------

尝试读取或写入受保护的内存。这通常表明其他内存已损坏。(Microsoft.VisualStudio.OLE.Interop)

------------------------------
纽扣:

好的

====================================

当我点击详细信息时,我会看到以下信息:

尝试读取或写入受保护的内存。这通常表明其他内存已损坏。(Microsoft.VisualStudio.OLE.Interop)

------------------------------
节目地点:

   在 Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
   在 Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
   在 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
   在 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(Object sender, ActiveViewChangedEventArgs e)
   在 System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   在 Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
   在 Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(视图视图,ActivationType 类型)
   在 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
   在 Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.b__26()
   在 Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 方法) …

sql-server ssms view sql-server-2016

7
推荐指数
1
解决办法
5652
查看次数

标签 统计

sql-server ×1

sql-server-2016 ×1

ssms ×1

view ×1