安装SQL SERVER 2005时出现如下错误提示:
在以上提示的目录下找到文件:SQLSetup0005_K3_Core.log和SQLSetup0005_K3_Datastore.xml,打开第一个文件内容如下:
Microsoft SQL Server 2005 Setup beginning at Sat Aug 13 10:09:37 2016
Process ID : 2252
D:\tools\SQL.2005.all.chs\SQL Server x86\Servers\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2016/7/13 10:9:37
Complete: LoadResourcesAction at: 2016/7/13 10:9:37, returned true
Running: ParseBootstrapOptionsAction at: 2016/7/13 10:9:37
Loaded DLL:D:\tools\SQL.2005.all.chs\SQL Server x86\Servers\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2016/7/13 10:9:37, returned true
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文件运行,一切正常!
结论:
遇到问题,首先还是要从最简单的原因和最简单的方法开始!