简体   繁体   English

SQL SP3 安装中出现 0x84BC0641 错误

[英]0x84BC0641 error in SQL SP3 installation

I'm getting an error while installing SQL SP3 pack(Admin Mode) on Windows Server 2008 R2.在 Windows Server 2008 R2 上安装 SQL SP3 包(管理模式)时出现错误。 Can someone provide the root cause of this error?有人可以提供此错误的根本原因吗?

using Silent installation START /WAIT C:\\Temp\\SQLSP3.exe /QUIET /IACCEPTSQLSERVERLICENSETERMS /ACTION=PATCH /ALLINSTANCES使用静默安装 START /WAIT C:\\Temp\\SQLSP3.exe /QUIET /IACCEPTSQLSERVERLICENSETERMS /ACTION=PATCH /ALLINSTANCES

在此处输入图片说明

您应该尝试 1. 从 Windows Update 下载并安装所有可用更新 2. 下载并安装所有适用于 Windows 的 SP 3. 重新安装 .net 框架

Following resolves this error code以下解决此错误代码

Framework 4 no longer uses caspol.exe per running the command line:框架 4 不再在每次运行命令行时使用 caspol.exe:

C:\Windows\Microsoft.NET\Framework64\v2.0.50727>caspol.exe -all -reset

Microsoft (R) .NET Framework CasPol 2.0.50727.5420 Copyright (c) Microsoft Corporation. Microsoft (R) .NET Framework CasPol 2.0.50727.5420 版权所有 (c) Microsoft Corporation。 All rights reserved.版权所有。

ERROR: Runtime error: This method explicitly uses CAS policy, which has been obs oleted by the .NET Framework.错误:运行时错误:此方法显式使用 CAS 策略,该策略已被 .NET Framework 废弃。 In order to enable CAS policy for compatibility re asons, please use the NetFx40_LegacySecurityPolicy configuration switch.为了为了兼容性原因启用 CAS 策略,请使用 NetFx40_LegacySecurityPolicy 配置开关。 Please see http://go.microsoft.com/fwlink/?LinkID=155570 for more information.有关详细信息,请参阅http://go.microsoft.com/fwlink/?LinkID=155570

Now I extracted the executable and the configuration file used for the setup seems to indicate that it is using the legacy flags indicated in the CAS link.现在我提取了可执行文件,用于设置的配置文件似乎表明它正在使用 CAS 链接中指示的旧标志。

I ran the exact same command line on the 32 bit folder我在 32 位文件夹上运行了完全相同的命令行

C:\Windows\Microsoft.NET\Framework\v2.0.50727>caspol.exe -all -reset

And it successfully created security.config and security.config.cch in C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\config它在 C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\config 中成功创建了 security.config 和 security.config.cch

Run the same command in Framework64 to generate security.config and security.comfig.cch files : C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config在 Framework64 中运行相同的命令以生成 security.config 和 security.comfig.cch 文件:C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM