安裝SQL SERVER 2005時出現以下錯誤提示:sql
在以上提示的目錄下找到文件:SQLSetup0005_K3_Core.log和SQLSetup0005_K3_Datastore.xml,打開第一個文件內容以下:服務器
Microsoft SQL Server 2005 Setup beginning at Sat Aug 13 10:09:37 2016ide
Process ID : 2252spa
D:\tools\SQL.2005.all.chs\SQL Server x86\Servers\setup.exe Version: 2005.90.1399.0rest
Running: LoadResourcesAction at: 2016/7/13 10:9:37orm
Complete: LoadResourcesAction at: 2016/7/13 10:9:37, returned truexml
Running: ParseBootstrapOptionsAction at: 2016/7/13 10:9:37blog
Loaded DLL:D:\tools\SQL.2005.all.chs\SQL Server x86\Servers\xmlrw.dll Version:2.0.3604.0ip
Complete: ParseBootstrapOptionsAction at: 2016/7/13 10:9:37, returned trueget
Running: ValidateWinNTAction at: 2016/7/13 10:9:37
Complete: ValidateWinNTAction at: 2016/7/13 10:9:37, returned true
Running: ValidateMinOSAction at: 2016/7/13 10:9:37
Complete: ValidateMinOSAction at: 2016/7/13 10:9:37, returned true
Running: PerformSCCAction at: 2016/7/13 10:9:37
Complete: PerformSCCAction at: 2016/7/13 10:9:37, returned true
Running: ActivateLoggingAction at: 2016/7/13 10:9:37
Complete: ActivateLoggingAction at: 2016/7/13 10:9:37, returned true
Delay load of action "DetectPatchedBootstrapAction" returned nothing. No action will occur as a result.
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2252" returned false.
Running: PerformSCCAction2 at: 2016/7/13 10:9:37
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.4042
Loaded DLL:C:\WINDOWS\system32\msi.dll Version:3.1.4000.4042
Complete: PerformSCCAction2 at: 2016/7/13 10:9:37, returned true
Running: PerformDotNetCheck at: 2016/7/13 10:9:38
Complete: PerformDotNetCheck at: 2016/7/13 10:9:38, returned true
Running: ComponentUpdateAction at: 2016/7/13 10:9:38
Error: Action "ComponentUpdateAction" threw an exception during execution. Error information reported during run:
<Func Name='UpdateComponents'>
Error: Cannot read license file
<EndFunc Name='UpdateComponents' Return='1603' GetLastError='2'>
Component update returned a fatal error : 1603
Error Code: 0x80070643 (1603)
Windows Error Text: 安裝時發生嚴重錯誤
Source File Name: setup\sqlsetupactions.cpp
Compiler Timestamp: Thu Sep 1 22:23:04 2005
Function Name: sqls::ComponentUpdateAction::perform
Source Line Number: 1564
Class not registered.
Running: UploadDrWatsonLogAction at: 2016/7/13 10:9:40
Message pump returning: 1603
解決方法:
百度查出來的都是改註冊表、改安裝文件目錄的方法,第一個修改後沒用,第二個真不靠譜。分析本身操做的前因後果,重啓服務器沒用,查看文件夾內容,忽然想起會不會被殺軟誤殺了什麼東西致使(趨勢殺軟真無論用,還起副作用,垃圾。),幸好還有一個ISO文件,比較了一下,不比不知道,一比嚇一跳,複製到服務器上的解壓後的文件夾才300+個,而原ISO文件有600+文件!原來是缺乏文件致使的錯誤!趕忙從新複製ISO到服務器,用虛擬光驅打開,找到Server文件夾下的Setup文件運行,一切正常!
結論:
遇到問題,首先仍是要從最簡單的緣由和最簡單的方法開始!