1. 主页 > vs安装问题 > VS2008安装问题 >

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

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 

本文由VS软件圈(vssoft.net)发布,不代表VS软件圈立场,转载联系作者并注明出处:https://vssoft.net/vsazwt/VS2008anzhuangwenti/2020/0722/1573.html

联系我们

在线咨询:点击这里给我发消息

微信号:PREEE8

工作日:9:30-18:30,节假日休息