2012-06-21 75 views
0

我是一名使用SQL Server 2008的新手,当我尝试通过在SQL Server Management Studio中右键单击数据库来制作数据库图时遇到错误消息:SQL Server 2008未指定错误(MS Visual数据库工具)

意外错误 (MS可视化数据库工具)

项目地点:

在System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(的Int32 的errorCode,IntPtr的errorInfo中)
在Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(URN origUrn,DocumentType editorType,DocumentOptions aeOptions, IManagedConnection CON,字符串文件名)
在Microsoft.SqlServer.Management.UI.VSIntegration.Editors .VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(URN origUrn,DocumentType editorType,DocumentOptions aeOptions, IManagedConnection CON,字符串文件名)
在Microsoft.SqlServer.Management.UI.VSIntegration.Editors .ISqlVirtualProject.CreateDesigner(金塔 原始,DocumentType editorType,DocumentOptions aeOptions, IManagedConnection con,Strin克文件名)
在Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType,DocumentOptions aeOptions,瓮parentUrn, IManagedConnection MC,字符串文件名)
在Microsoft.SqlServer.Management.UI。 VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection MC,DocumentOptions选项)

...我已经寻找这个错误,大多数的答复“从2005升级到2008年时常见的错误”,这是不是我的情况是关于,因为我刚刚刚刚安装了4天前的SQL Server 2008。

有人可以帮我解决这个问题吗?

+0

你碰巧安装了SQL 2005或Visual Studio 2005吗?有人有同样的错误[这里](http://databaselevellock.blogspot.co.uk/2012/03/database-diagrams-sql-server-2005-on.html)通过卸载,然后重新安装SQL服务器2008. – Bridge

+0

不,我没有2005在我的电脑,我的电脑是一个全新的电脑只有IE上周我第一次接手时...... – SilentVoice

回答

2

今天我有这个错误。在我的情况下,它与从SQL Server 2005到2008的迁移无关。为了解决这个问题,我重新启动了SQL Server 2008,并且在身份验证窗口中,我将“身份验证”字段从“Windows身份验证”字段更改为“SQL Server身份验证”。我不知道我最初是如何以“Windows身份验证”结束的,但改变它解决了我的问题。

相关问题