无法安装 SQL Server 2012
错误
SQL Server 安装程序遇到以下错误:1:2229 2:Q:\PCUSOURCE\1033_ENU_LP\x86\setup\x86\sqlncli.msi 3:属性 4:SELECT Value FROM Property WHERE Property = 'ProductVersion' 。
截屏
日志中的错误详细信息
(01) 2014-01-16 04:21:28 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2014-01-16 04:21:28 Slp: Inner exceptions are being indented
(01) 2014-01-16 04:21:28 Slp:
(01) 2014-01-16 04:21:28 Slp: Exception type: System.ComponentModel.Win32Exception
(01) 2014-01-16 04:21:28 Slp: Message:
(01) 2014-01-16 04:21:28 Slp: 1: 2229 2: Q:\PCUSOURCE\1033_ENU_LP\x86\setup\x86\sqlncli.msi 3: Property 4: SELECT `Value` FROM `Property` WHERE `Property` = 'ProductVersion'
(01) 2014-01-16 04:21:28 Slp: HResult : 0x80004005
(01) 2014-01-16 04:21:28 Slp: Error : 1615
(01) 2014-01-16 04:21:28 Slp: Data:
(01) 2014-01-16 04:21:28 Slp: WatsonData = 1615@2229
(01) 2014-01-16 04:21:28 Slp: Stack:
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetDBProperty(ServiceContainer context, String pathToMsi, String propertyName)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.MsiProvider.GetDBProperty(String absolutePackagePath, String propertyName)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.MSIDetectionEngine.ReadPackagePropertyFromMsiMedia(ServiceContainer context, String installMediaPath, String mediaLanguageFolder, PackageAttribute definedPackage, String propertyName)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.MSIDetectionEngine.DeterminePackageInstalledState(PackageId pkg, PackageAttribute pkgAttrib)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Configuration.PackageChainerExtension.SetPackageInstallStateAction.DetectPackageInstalledState(PackageAttribute packageData)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Configuration.PackageChainerExtension.SetPackageInstallStateAction.ExecuteAction(String actionId)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2014-01-16 04:21:28 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
我曾在 Google 上搜索过此错误,但没有找到任何相关信息。请告诉我如何消除此错误。
答案1
根据表名和堆栈跟踪,这不是 SQL 查询,而是 MSI 查询。我敢打赌 MSI 数据库Q:\PCUSOURCE\1033_ENU_LP\x86\setup\x86\sqlncli.msi
已损坏。尝试使用虎鲸或者只需从已知良好的安装介质中替换它并重试。
如果Q:
是映射驱动器,则读取操作期间可能出现网络问题。本地复制可能会排除此类问题。
作为参考,0x80004005 转换为非常有用的“操作失败”。