機器在我縮小數據庫的同時重新啓動,此後SQL Server (MSSQLSERVER)
未啓動。在閱讀博客之後,我使用相同的文件替換了模板文件夾中的master.mdf
和mastlog.ldf
文件,假設主數據庫已損壞,因爲我正在縮小此文件。FCB ::打開失敗:無法打開文件
但是問題仍然存在,該錯誤日誌文件提供了以下信息,
Starting up database 'msdb'.
Starting up database 'mssqlsystemresource'.
Error: 17204, Severity: 16, State: 1.
FCB::Open failed: Could not open file E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf for file number 1. OS error: 3(The system cannot find the path specified.).
Error: 5120, Severity: 16, State: 101.
Unable to open the physical file "E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
Error: 17207, Severity: 16, State: 1.
FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBLog.ldf'. Diagnose and correct the operating system error, and retry the operation.
File activation failure. The physical file name "E:\sql12_main_t.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBLog.ldf" may be incorrect.
The resource database build version is 12.00.2000. This is an informational message only. No user action is required.
Starting up database 'model'.
我可以明確地說,有我的機器上沒有E:\
分區。你能幫我修好我認爲現在是錯誤的道路嗎?
我投票決定關閉,並將這個問題dba.stackexchange.com。 –