首页 > 解决方案 > 如何在 SQL Server 2008 R2 中创建新的数据库图表时修复“无效的类字符串(MS Visual Database Tools)”

问题描述

我正在尝试在 SQL Server 2008 R2 中创建一个新的数据库图表,但我收到以下消息:

无效的类字符串(MS Visual Database Tools)

在此之前,我已经删除了 SQL Server 2008 R2 并重新安装了它。在出现该错误后,我再次重新安装它,但它没有修复。我一直在谷歌上寻找答案,但我仍然找不到任何解决方案。我怎样才能解决这个问题?

谢谢。

细节:

无效的类字符串
(MS Visual Database Tools)

节目地点:

在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
在 Microsoft.SqlServer.Management.UI.VSIntegration.NativeMethods.ThrowOnFailure(Int32 hr)
Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer .Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType , DocumentOptions aeOptions, IManagedConnection con, String fileName) at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc,字符串文件名)在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc,DocumentOptions 选项)

PS:对不起我的英语不好

标签: sql-serversql-server-2008-r2

解决方案


推荐阅读