Windows 7 无法安装 Visual Studio的原因及解决方案

本文档详细介绍了在Windows7上遇到安装VisualStudio时出现的error1935错误及解决方案,包括设置注册表大小限制、重启计算机以及使用SFC命令修复系统文件。

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

Windows 7 无法安装 Visual Studio的原因及解决方案

Windows7 中安装Visual Studio时停止,并发生error 1935 错误,无法注册程序集等

参考:

已经确定这不是Windows 7的问题,不知道是不是ArcGIS设置了这个限制。

http://forums.esri.com/Thread.asp?c=93&f=1148&t=287391#900804

症状:

Symptoms -

1) When installing applications you receive error messages involving OpenMP and the installation fails with a rollback:

Product: Microsoft Visual C++ 2005 Redistributable -- Error 1935.An error occurred during the installation of assembly
'Microsoft.VC80.OpenMP,type="win32",version="8.0.50727.762",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x800736FD. assembly interface: IAssemblyCacheItem, function: Commit, component: {1E507087-0819-45E0-A01F-C8B3B9A1E18E}


2) Installing applications or trying to run Windows Update causes the following entries to be added to the System log in Event Viewer:

The server {752073A1-23F2-4396-85F0-8FDB879ED0ED} did not register with DCOM within the required timeout.

The Windows Modules Installer service terminated with the following error: Insufficient system resources exist to complete the requested service.

Application popup: Windows - Low On Registry Space : The system has reached the maximum size allowed for the system part of the registry. Additional storage requests will be ignored.


3) When trying to make changes to your Windows configuration the "Turn Windows Features On and Off" dialog box is empty.


4) Open the %windir%\logs\cbs directory and the cbs.log file. Look for failures concerning the TrustedInstaller initialization. The error might look something like this:

2009-08-27 00:05:20, Info CBS Starting TrustedInstaller initialization.
2009-08-27 00:05:20, Info CBS Loaded Servicing Stack v6.1.7600.16385 with Core: C:\Windows\winsxs\x86_microsoft-windows-
servicingstack_31bf3856ad364e35_6.1.7600.16385_none_0935b76c289e0fd5\cbscore.dll
2009-08-27 00:05:20, Info CBS Failed to load the COMPONENTS hive from 'C:\Windows\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'.

[HRESULT = 0x800705aa - ERROR_NO_SYSTEM_RESOURCES]
2009-08-27 00:05:20, Info CBS Failed to load WCP DLL. [HRESULT = 0x800705aa - ERROR_NO_SYSTEM_RESOURCES]
2009-08-27 00:05:20, Info CBS Failed to initialize the Core DLL: C:\Windows\winsxs\x86_microsoft-windows-
servicingstack_31bf3856ad364e35_6.1.7600.16385_none_0935b76c289e0fd5\cbscore.dll [HRESULT = 0x800705aa -
确认问题:

Test -

If you are having one or more of the symptoms listed above, one or more of following tests should fail to confirm the problem:

1) Run the .NET Framework Setup Verification Tool (http://blogs.msdn.com/astebner/pages/8999004.aspx). You should have 3 Frameworks listed (2.0 SP2, 3.0 SP2, and 3.5 SP1).

Validate each one starting with 2.0 SP2, then 3.0 SP2, and lastly 3.5 SP1. The only one that should fail validation is 3.5 SP1.


2) As a Administrator open a Command Prompt and run "SFC /SCANNOW". You should receive a failure regarding the Windows Resource Monitor.

解决方法:

1) If you are receiving the "Low Registry Space" error, set the Registry Size Limit to "unlimited":

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
Key: RegistrySizeLimit
Type: REG_DWORD
Value: 0xffffffff (4294967295)


2) Reboot

3) As a Administrator open a Command Prompt and run "SFC /SCANNOW". The command should complete successfully and if any errors were found, they should be corrected. 

Jim Tochterman
VP, Research & Development
Bradshaw Consulting Services, Inc.
http://www.bcs-gis.com 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值