安装SQL service未能加载文件或microsoft.sql.chainer.packagedata.dll"或它的某个依赖项

本文介绍了SQLservice数据库在安装过程中遇到的问题,即安装路径过长导致的错误,并提供了解决方案,建议将数据库放置在D盘或其他盘符的根目录下进行安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原因:SQL service数据库的安装路径过长。

解决:把SQL service数据库放到D盘或其他的盘符根目录下再安装。

(01) 2025-03-28 11:06:30 Slp: Log provider 'Microsoft.SqlServer.Chainer.Infrastructure.LogProviderFile' has been registered (01) 2025-03-28 11:06:30 Slp: Log provider 'Microsoft.SqlServer.Chainer.Infrastructure.LogProviderStatus' has been registered (01) 2025-03-28 11:06:30 Slp: Reading XML resource 'Microsoft.SQL.Chainer.PackageData.Package.xml' (01) 2025-03-28 11:06:30 Slp: Reading schema resource 'Microsoft.SQL.Chainer.Package.Package.xsd' (01) 2025-03-28 11:06:30 Slp: Document 'Microsoft.SQL.Chainer.PackageData.Package.xml' validated with schema 'Microsoft.SQL.Chainer.Package.Package.xsd' has been successfuly loaded into datastore path '/Datastore/Package' (01) 2025-03-28 11:06:30 Slp: ---------------------------------------------------------------------- (01) 2025-03-28 11:06:30 Slp: Running Action: ReadProductXML (01) 2025-03-28 11:06:30 Slp: Reading XML resource 'Microsoft.SQL.Chainer.Product.Product.xml' (01) 2025-03-28 11:06:30 Slp: Document 'Microsoft.SQL.Chainer.Product.Product.xml' validated with schema 'Microsoft.SQL.Chainer.Product.Product.xsd' has been successfuly loaded into datastore path '/Datastore/Product' (01) 2025-03-28 11:06:30 Slp: Completed Action: ReadProductXML, returned True (01) 2025-03-28 11:06:30 Slp: ---------------------------------------------------------------------- (01) 2025-03-28 11:06:30 Slp: Running Action: LoadExtensions (01) 2025-03-28 11:06:30 Slp: Loading extension 'MSI' from file 'C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014\x64\.\Microsoft.SqlServer.Configuration.MsiExtension.dll' (01) 2025-03-28 11:06:30 Slp: Extension 'MSI' version '12.0.2000.8' loaded (01) 2025-03-28 11:06:30 Slp: Loading extension 'PackageChainer' from file 'C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014\x64\.\Microsoft.SqlServer.Configuration.PackageChainerExtension.dll' (01) 2025-03-28 11:06:30 Slp: Extension 'PackageChainer' version '12.0.2000.8' loaded (01) 2025-03-28 11:06:30 Slp: Loading exten
03-29
Package properties: Description: Microsoft SQL Server 2016 ProductName: SQL Server 2016 Type: RTM Version: 13 SPLevel: 3 KBArticle: KB5003279 KBArticleHyperlink: https://support.microsoft.com/?kbid=5003279 Microsoft 支持 Microsoft 支持 PatchType: SP AssociatedHotfixBuild: 0 Platform: x64 PatchLevel: 13.3.6300.2 ProductVersion: 13.0.1601.5 GDRReservedRange: 13.0.1700.0:13.0.1899.0;13.0.4200.0:13.0.4299.0;13.0.5200.0:13.0.5399.0;13.0.6400.0:13.0.6999.0 Installation location: d:\4deada0f0cf847639c59e9c30e87\x64\setup\ 用户输入设置: ACTION: Patch ALLINSTANCES: false CLUSTERPASSIVE: false CONFIGURATIONFILE: ENU: false HELP: false IACCEPTROPENLICENSETERMS: false INDICATEPROGRESS: false INSTANCEID: <空> INSTANCENAME: <空> MRCACHEDIRECTORY: QUIET: false QUIETSIMPLE: false SUPPRESSPRIVACYSTATEMENTNOTICE: false UIMODE: Normal X86: false Rules with failures: Global rules: There are no scenario-specific rules. Rules report file: The rule result report file is not available. Exception summary: The following is an exception stack listing the exceptions in outermost to innermost order Inner exceptions are being indented Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException Message: Failed to retrieve data for this request. HResult : 0x80131500 Data: HelpLink.ProdName = Microsoft SQL Server HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink 理想的世界! 理想的世界! HelpLink.LinkId = 20476 HelpLink.EvtType = 0x48BB60BC@0xAC7B1A58@1233@6 DisableWatson = true Stack: 在 Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath) 在 Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId) 在 Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) 在 Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b() 在 Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate) Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException Message: 句柄无效。 HResult : 0x84d10006 FacilityCode : 1233 (4d1) ErrorCode : 6 (0006) Data: WatsonData = Microsoft.SqlServer.Configuration.Sco.SqlRegistryException@Win32Error Stack: 在 Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) 在 Microsoft.SqlServer.Discovery.DiscoveryUtils.Util.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached) 在 Microsoft.SqlServer.Discovery.DiscoveryUtils.Util.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess) 在 Microsoft.SqlServer.Discovery.RegistryKeyExistsPropertyValueProvider.GetPropertyValue(Object[] context) 在 Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetPropertyValueFromProvider(IPropertyValueProvider propertyValueProvider, String machineName, Object[] context) 在 Microsoft.SqlServer.Discovery.ObjectInstanceSettings.IsObjectFound(String machineName, String idFilter) 在 Microsoft.SqlServer.Discovery.Product.FilterObjectSet(ArrayList objects, String idFilter) 在 Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent) 在 Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData() 在 Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci) 在 Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request) 在 Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
最新发布
08-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

橙-极纪元JJYCheng

客官,1分钱也是爱,给个赏钱吧

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值