0

私は SQL Server 2008 を使用する初心者ですが、SQL Server Management Studio でデータベースを右クリックしてデータベース ダイアグラムを作成しようとすると、次のエラー メッセージが表示されます。

不明なエラー (MS Visual Database Tools)

プログラムの場所:

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、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)
Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner (DocumentType editorType、DocumentOptions aeOptions、Urn parentUrn、IManagedConnection mc、String fileName)
で Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow (IManagedConnection ) mc、DocumentOptions オプション)

私はこのエラーを検索しましたが、応答のほとんどは「2005 から 2008 にアップグレードするときの一般的なエラー」に関するものでした。これは、4 日前に SQL Server 2008 を新しくインストールしたばかりなので、私の場合ではありません。

誰かがこの問題を解決するのを手伝ってくれますか?

4

2 に答える 2

2

今日、このエラーが発生しました。私の場合、SQL Server 2005 から 2008 への移行とは何の関係もありませんでした。この問題を解決するために、SQL Server 2008 を再起動し、認証ウィンドウで [認証] フィールドを [Windows 認証] から [SQL Server 認証] に変更しました。そもそも「Windows認証」になった経緯はわかりませんが、変更すると問題が解決しました。

于 2012-10-17T20:40:57.797 に答える