SQL Server Express 安装失败

SQL Server Express 安装失败

我正在尝试安装 SQL Server Express(作为 Visual Studio 2010 Professional 安装的一部分),但安装失败。我收到了此错误日志。

[06/22/11,16:31:39] Microsoft Visual Studio 2010 Professional - ENU: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #SP.cab
[06/22/11,16:31:40] setup.exe: [2] Duplicate module ID: {0AFE11CA-57AA-4F66-90BE-284F0F3A5ABD}
[06/22/11,16:32:12] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/22/11,16:32:12] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/22/11,16:32:12] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/22/11,17:07:55] Microsoft Visual Studio 2010 Professional - ENU: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #SP.cab
[06/22/11,17:07:55] setup.exe: [2] Duplicate module ID: {0AFE11CA-57AA-4F66-90BE-284F0F3A5ABD}
[06/23/11,10:39:33] Microsoft Visual Studio 2010 Professional - ENU: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #SP.cab
[06/23/11,10:39:33] setup.exe: [2] Duplicate module ID: {0AFE11CA-57AA-4F66-90BE-284F0F3A5ABD}
[06/23/11,10:40:22] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/23/11,10:40:22] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/23/11,10:40:22] setup.exe: [2] Duplicate component in install order: SQL EULAs
[06/23/11,10:53:48] Microsoft Visual Studio 2010 Professional - ENU: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #SP.cab
[06/23/11,10:53:48] setup.exe: [2] Duplicate module ID: {0AFE11CA-57AA-4F66-90BE-284F0F3A5ABD}
[06/23/11,13:19:26] Microsoft Visual Studio 2010 Professional - ENU: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #SP.cab
[06/23/11,13:19:26] setup.exe: [2] Duplicate module ID: {0AFE11CA-57AA-4F66-90BE-284F0F3A5ABD}
[06/23/11,16:47:36] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Error code -2068643839 for this component is not recognized.
[06/23/11,16:47:36] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Component Microsoft SQL Server 2008 Express Service Pack 1 (x64) returned an unexpected value.
***EndOfSession***

我读了各种文章,它们都指出了寄存器出了问题,但我找不到具体原因。有什么建议可以解决这个问题吗?

答案1

事实证明,问题出在系统范围的权限上,在 Windows 7 中,我没有获得足够的“管理员”访问权限(因为 Windows 7 中的策略更细粒度)。一旦我获得正确的访问权限,一切都会正常工作。

答案2

JasCav,似乎很多人都遇到过这种情况,但不知何故,第二次尝试安装时,它成功了。我至少会再试一次。

另外,我很久以前就发现了一个秘密(至少在当时,这在互联网上不容易找到……但现在谁知道呢?):我以前遇到过 SQL Service Pack 更新失败的情况,我通过创建软件限制策略解决了这个问题。这可能与此无关,但这是一个好主意,而且它仍然可能有所帮助。

  1. 对于 Windows 7(与其他 MS 操作系统非常相似),转到控制面板>管理工具>本地安全策略并双击。
  2. 右键单击“软件限制策略”,然后单击“新软件限制策略”(确切的措辞因 XP 而异,但很明显它们是同一件事)。
  3. 双击“强制”,设置选项为:“所有软件文件”和“除本地管理员之外的所有用户”。

相关内容