安装/修复Visual Studio Community 2015时,SQL Server 2014管理对象包失败 [英] SQL Server 2014 Management Objects package failed while installing/repairing Visual Studio Community 2015

查看:269
本文介绍了安装/修复Visual Studio Community 2015时,SQL Server 2014管理对象包失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装或修复Visual Studio 2015期间,尝试安装SQL Server 2014管理对象时出现程序包失败错误。该程序说安装已完成,但并未正确安装所有功能。 (作为旁注,我从未要求安装
与SQL服务器相关的任何内容。我想要的只是Visual C ++。)


我运行了Collect.exe并获得了vslogs。如帮助页面上建议的zip,但我看不到如何将文件附加到此帖子。


以下是与日志文件中的错误相关的部分(dd_vs_community_20160522234029.log ):



[1678:07E8] [2016-05-23T00:20:34] i319:应用执行包:sqlsysclrtypes_x86_msi_476,结果: 0x0,重启:无

[1728:1014] [2016-05-23T00:20:34] i325:在包提供者上注册依赖关系:{04fa3a35-1f49-4510-8051-819cdc1e6e01}:{ 091CE6AA-2753-4F6E-AD1C-0E875744EB54},包:sqlsysclrtypes_x86_msi_476

[1728:1014] [2016-05-23T00:20:34] i323:注册包依赖提供者:{2774595F-BC2A- 4B12-A25B-0C37A37049B0},版本:12.0.2000.8,包:sharedmanagementobjects_x86_msi_475

[1678:07E8] [2016-05-23T00:20:34] i000:MUX:  ExecutePackageBegin PackageId:sharedmanagementobjects_x86_msi_475

[1728:1014] [2016-05-23T00:20:34] i301:应用执行包:sharedmanagementobjects_x86_msi_475,操作:安装,路径:C:\ProgramData \ Package Cache \ {2774595F-BC2A-4B12-A25B-0C37A37049B0} v12.0.2000.8\packages\SharedManagementObjects_x86 \ SharedManagementObjects.msi,
arguments:'MSIFASTINSTALL =" 7"'

[1678:07E8] [2016-05-23T00:20:58] i000:MUX:  ExecuteError:包(sharedmanagementobjects_x86_msi_475)失败:错误消息Id:1935 ErrorMessage:安装程序集'Microsoft.VC80.CRT,version =" 8.0.50727.6229",publicKeyToken =" 1fc8b3b9a1e18e3b",processorArchitecture =" ; 86",类型= QUOT; win32的""。
有关更多信息,请参阅"帮助和支持"。 HRESULT:0x80070091。

[1728:1014] [2016-05-23T00:21:10] e000:错误0x80070643:无法安装MSI包。

[1728:1014] [2016 -05-23T00:21:10] e000:错误0x80070643:无法执行MSI包。

[1678:07E8] [2016-05-23T00:21:10] e000:错误0x80070643:失败配置每台机器的MSI包。

[1678:07E8] [2016-05-23T00:21:10] i000:MUX: 包的安装大小(以字节为单位):sharedmanagementobjects_x86_msi_475 MaxAppDrive:0  MaxSysDrive:6811648  AppDrive:0  SysDrive:0

[1678:07E8] [2016-05-23T00:21:10] i000:MUX: 返回代码:0x80070643 Msi消息:在安装程序集'Microsoft.VC80.CRT,version =" 8.0.50727.6229",publicKeyToken =" 1fc8b3b9a1e18e3b",processorArchitecture =" x86",type ="期间发生错误的win32""。
有关更多信息,请参阅"帮助和支持"。 HRESULT:0x80070091。 结果详细信息:0x80070091,Commit,x86,Microsoft.VC80.CRT重新启动:无

[1678:07E8] [2016-05-23T00:21:10] i000:MUX: 设置结果:返回代码= -2147023293(0x80070643),错误消息=安装程序集'Microsoft.VC80.CRT,version =" 8.0.50727.6229",publicKeyToken =" 1fc8b3b9a1e18e3b",processorArchitecture =" ; 86",类型= QUOT; win32的""。
有关更多信息,请参阅"帮助和支持"。 HRESULT:0x80070091。 ,结果详细信息= 0x80070091,提交,x86,Microsoft.VC80.CRT,Vital = False,包操作=安装,包ID = sharedmanagementobjects_x86_msi_475

[1678:07E8] [2016-05-23T00:21 :10] i000:将字符串变量'BundleResult'设置为值'3010'

[1678:07E8] [2016-05-23T00:21:10] w350:应用非重要包:sharedmanagementobjects_x86_msi_475,遇到错误:0x80070643。继续...

[1728:1014] [2016-05-23T00:21:10] i325:在包提供商上注册依赖关系:{04fa3a35-1f49-4510-8051-819cdc1e6e01}:{2774595F -BC2A-4B12-A25B-0C37A37049B0},包:sharedmanagementobjects_x86_msi_475

[1678:07E8] [2016-05-23T00:21:10] i000:MUX:  ExecutePackageBegin PackageId:help3_vs_msi

[1728:1014] [2016-05-23T00:21:10] i301:应用执行包:help3_vs_msi,操作:修复,路径:C:\ProgramData \ Package Cache \ {358AD966-5D2F-390C-B4F3-E93852CD8EAD} v2.2.25123\packages\ Help'\\help3_vs_net.msi,arguments:'MSIFASTINSTALL =" 7" VS_SETUP =" 1"'

解决方案

亲爱的yarko,



欢迎来到MSDN论坛。


错误代码'0x80070643'是一般问题,通常意味着安装程序已损坏,我建议您使用VS社区2015
的健康ISO文件进行修复。要验证ISO文件的完整性,请使用FCIV.exe工具:

http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum- for-visual-studio-2010-service-pack-1-before-installing.aspx
检查ISO的SHA1值,预期值来自此处:
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso -sha1-vs.aspx
任何差异都意味着ISO已损坏。


根据以下错误信息:


  >>错误消息ID:1935 ErrorMessage:安装程序集期间发生错误
'Microsoft.VC80.CRT,版本=" 8.0.50727.6229",publicKeyToken =" 1fc8b3b9a1e18e3b",processorArchitecture =" x86",type =" win32"'。有关详细信息,请参阅"帮助和支持".HRESULT:0x80070091。


如果您在尝试安装软件时收到1935错误,则Windows文件系统事务日志已损坏。
我在此处发现类似内容:
http:// answers。 microsoft.com/en-us/windows/forum/windows_vista-windows_programs/error-1935an-error-occurred-during-the/7105ee7e-ab45-4bd2-b5db-a3e9002f7f9e


步骤1:要更正此安装错误,您需要清除日志。


第2步:检查是否能够以干净启动方式安装。


第3步:修复.net框架并检查。


  1. 转到控制面板 - 添加或删除程序并选择要修复的.NET Framework
  2. 使用.NET Framework修复工具:
    https://www.microsoft.com/en-us/download/details.aspx?id=30135
    修理

如果问题仍然存在,请在%temp%文件夹下找到vslogs.zip并将文件上传到
https://onedrive.live.com/
并在此处分享链接。



祝你好运,


萨拉


During install or repair of Visual Studio 2015 I get a package fail error when trying to install SQL Server 2014 Management Objects. The program says setup was completed but not all features installed correctly. (As a side note, I never asked to install anything related to SQL server. All I wanted was Visual C++.)

I ran Collect.exe and got the vslogs.zip as suggested on the help page, but I don't see how to attach the file to this post.

Here is the section related to the error from the log file (dd_vs_community_20160522234029.log):

[1678:07E8][2016-05-23T00:20:34]i319: Applied execute package: sqlsysclrtypes_x86_msi_476, result: 0x0, restart: None
[1728:1014][2016-05-23T00:20:34]i325: Registering dependency: {04fa3a35-1f49-4510-8051-819cdc1e6e01} on package provider: {091CE6AA-2753-4F6E-AD1C-0E875744EB54}, package: sqlsysclrtypes_x86_msi_476
[1728:1014][2016-05-23T00:20:34]i323: Registering package dependency provider: {2774595F-BC2A-4B12-A25B-0C37A37049B0}, version: 12.0.2000.8, package: sharedmanagementobjects_x86_msi_475
[1678:07E8][2016-05-23T00:20:34]i000: MUX:  ExecutePackageBegin PackageId: sharedmanagementobjects_x86_msi_475
[1728:1014][2016-05-23T00:20:34]i301: Applying execute package: sharedmanagementobjects_x86_msi_475, action: Install, path: C:\ProgramData\Package Cache\{2774595F-BC2A-4B12-A25B-0C37A37049B0}v12.0.2000.8\packages\SharedManagementObjects_x86\SharedManagementObjects.msi, arguments: ' MSIFASTINSTALL="7"'
[1678:07E8][2016-05-23T00:20:58]i000: MUX:  ExecuteError: Package (sharedmanagementobjects_x86_msi_475) failed: Error Message Id: 1935 ErrorMessage: An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070091.
[1728:1014][2016-05-23T00:21:10]e000: Error 0x80070643: Failed to install MSI package.
[1728:1014][2016-05-23T00:21:10]e000: Error 0x80070643: Failed to execute MSI package.
[1678:07E8][2016-05-23T00:21:10]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[1678:07E8][2016-05-23T00:21:10]i000: MUX:  Installation size in bytes for package: sharedmanagementobjects_x86_msi_475 MaxAppDrive: 0  MaxSysDrive: 6811648  AppDrive: 0  SysDrive: 0
[1678:07E8][2016-05-23T00:21:10]i000: MUX:  Return Code:0x80070643 Msi Messages:An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070091.  Result Detail:0x80070091,Commit,x86,Microsoft.VC80.CRT Restart:None
[1678:07E8][2016-05-23T00:21:10]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070091. , Result Detail=0x80070091,Commit,x86,Microsoft.VC80.CRT, Vital=False, Package Action=Install, Package Id=sharedmanagementobjects_x86_msi_475
[1678:07E8][2016-05-23T00:21:10]i000: Setting string variable 'BundleResult' to value '3010'
[1678:07E8][2016-05-23T00:21:10]w350: Applied non-vital package: sharedmanagementobjects_x86_msi_475, encountered error: 0x80070643. Continuing...
[1728:1014][2016-05-23T00:21:10]i325: Registering dependency: {04fa3a35-1f49-4510-8051-819cdc1e6e01} on package provider: {2774595F-BC2A-4B12-A25B-0C37A37049B0}, package: sharedmanagementobjects_x86_msi_475
[1678:07E8][2016-05-23T00:21:10]i000: MUX:  ExecutePackageBegin PackageId: help3_vs_msi
[1728:1014][2016-05-23T00:21:10]i301: Applying execute package: help3_vs_msi, action: Repair, path: C:\ProgramData\Package Cache\{358AD966-5D2F-390C-B4F3-E93852CD8EAD}v2.2.25123\packages\Help\help3_vs_net.msi, arguments: ' MSIFASTINSTALL="7" VS_SETUP="1"'

解决方案

Dear yarko,

Welcome to the MSDN forum.

The error code ‘0x80070643’ is a general issue and often means the installer is corrupted, I recommend you use a healthy ISO file of VS community 2015 to repair it. To verify the integrity of the ISO file, please use the FCIV.exe tool: http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspxto check the SHA1 value of the ISO, the expected value comes from here: https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx, any discrepancy means the ISO is corrupted.

According to the error message as below:

 >>Error Message Id: 1935 ErrorMessage: An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070091.

If you receive a 1935 error when you try to install software, the Windows file system transaction log has become corrupted. I found a similar here: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/error-1935an-error-occurred-during-the/7105ee7e-ab45-4bd2-b5db-a3e9002f7f9e

Step 1: To correct this install error, you need to clear the log.

Step 2: Check if you are able to install in clean boot.

Step 3: Repair .net framework and check.

  1. Go to Control Panel—Add or Remove programs and select the .NET Framework to repair
  2. Use the .NET Framework Repair Tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135to repair

If the issue still persists, please find vslogs.zip under %temp% folder and upload the file to https://onedrive.live.com/ and share the link here.

Best regards,

Sara


这篇关于安装/修复Visual Studio Community 2015时,SQL Server 2014管理对象包失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆