Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

假設您使用的是 MICROSOFT SQL Server 2017 Express LocalDB (SqlLocalDB)。 當您建立資料庫時,會收到類似以下的錯誤訊息:

Msg 5123、Level 16、State 1、Line 1 建立檔案遇到作業系統錯誤5(拒絕存取)。 嘗試開啟或建立物理檔案 ' C:\Users\username_dbfilename.mdf」時。 Msg 1802、Level 16、State 4、Line 1 建立資料庫失敗。 無法建立某些列出的檔案名。 檢查相關的錯誤。

解決方案

此問題的修正套裝程式含在 SQL Server 2017 的 累積更新 6 中。

關於 SQL Server 2017 組建

每個新組建的 SQL Server 2017 包含先前組建中的所有修復程式和安全性修正程式。 我們建議您安裝 SQL Server 2017 的最新組建

狀態

Microsoft 已確認本篇文章<適用於>一節所列之 Microsoft 產品確實有上述問題。

參考

瞭解 Microsoft 用於描述軟體更新的標準 術語

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×