2012-06-21 70 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身份驗證」結束的,但改變它解決了我的問題。

相關問題