2015-03-25 97 views
1

目前我的項目在運行,但是我連接同一個項目數據庫與SQL Server Management Studio中,顯示錯誤SQL Server 2008中的連接錯誤

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

CREATE FILE encountered operating system error 32(The process cannot access the file because it is being used by another process.) while attempting to open or create the physical file 'gg.mdf'. (Microsoft SQL Server, Error: 5123)

我怎樣才能解決這個問題?

回答

1

您可能正在創建一個具有相同文件名(.mdf)或SQL服務器上已存在的數據庫的數據庫。

我不確定你在說什麼類型的項目,但試圖改變數據庫的物理文件名或從服務器上刪除現有的數據庫。