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.

徵狀

假設 [ is_media_read_only ] 資料行 在 SQL 中,在 sys.database_files 和 sys.master_files 的資料檔案的值為 ' 1 ' Server 2016 或2017。 此欄會指出裝載資料的基礎媒體 檔案是唯讀的。 Is_media_read_only值 即使媒體不再處於唯讀狀態,還是保持不變。 還原或 附加檔案所屬的資料庫仍可能不會變更欄 有效值. 由於這個問題,有些作業將會失敗,包括啟用 TDE 上的 資料. 您可能會收到類似下列所示的錯誤訊息:

Msg 33118、Level 16、State 2、Line LineNumber

無法啟用或修改資料庫加密 在唯讀資料庫中,具有唯讀檔案或無法復原。

狀態

Microsoft 已確認<適用於>一節所列的 Microsoft 產品確實有上述問題。

解決方案

此問題已在 SQL Server 的下列累積更新中修正:

關於 SQL Server 的累積更新:

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 查看 SQL Server 的最新累計更新:

參考

瞭解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!

×