最近在电脑上安装了 SQL Server 2005, 在本机上工作的很正常,一切OK,
但是当连接到服务器操作数据库,在创建表格时,老是报如下错误: Unspecified error (MS Visual Database Tools)

错误的详细信息如下:
===================================
Unspecified error
(MS Visual Database Tools)
------------------------------
Program Location:
at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.NewTable(Object dsRef, Object pServiceProvider)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.TableDesignerNode.CreateDesigner(IDTDocToolFactoryProvider factoryProvider, IVsDataConnection dataConnection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.CreateDesigner()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.Open()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
网上查了下,原来是SQL Server 版本之间的问题: SQL Server 2005 Management Studio 不能 操作 SQL Server 2008 ,所以出现这个错误。
解决办法就是卸掉2005, 装上2008.
在本地运行正常的SQL Server 2005在连接到服务器创建表格时出现Unspecified error。问题解决方法是将SQL Server 2005卸载并安装SQL Server 2008。
117

被折叠的 条评论
为什么被折叠?



