在Windows 7下运行VSphere Cilent
2010-05-13 09:47
573 查看
Cannot launch vSphere Client after installing in Windows 7 or Windows 2008 R2
Symptoms
You cannot launch the vSphere ClientIf you install the vSphere Client in Windows 7 or Windows 2008 R2 and try to connect to the vSphere server, you see the errors:
Error parsing the server "<servername>" "clients.xml" file.
The type initializer for VirtualInfrastructure.Utils.HttpWebRequestProxy' threw an exception.
Resolution
Permanent Resolution
This issue is resolved in VMware vSphere 4.0 Update 1. You can download VMware vSphere 4.0 Update 1 on the VMware vSphere 4 download page.Prior to VMware vSphere 4.0 Update 1, the vSphere Client is not supported in Windows 7 or Windows 2008 R2 and it does not run in Compatibility Mode. This issue may occur because of the .NET loading mechanism change in Windows 2008 R2 and Windows 7.
Workaround
If you cannot upgrade to VMware vSphere 4.0 Update 1, there are 2 possible workarounds. Perform one of these options:Using VMware Player or VMware Workstation, install a Windows XP virtual machine in Windows 7 or Windows 2008 R2.
Bypass the normal .NET Framework loading mechanism.
Warning: This workaround is unsupported.
To bypass the normal .NET Framework loading mechanism:
Download the file system.dll. This file is typically located in %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non-Windows 7 or Windows 2008 R2 machine with .NET v3.5 SP1 installed.
Copy the file to C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib.
Note: If the lib directory does not exist, create it.
Open VpxClient.exe.config in a text editor. The file is located at C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher.
Add the following three lines to VpxClient.exe.config, just before </configuration>:
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
From Windows 2008 R2 or Windows 7 System Properties, click the Advanced tab > Environment Variables.
Create a new System variable called DEVPATH and assign the value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
Note: For 32bit operating systems, replace Program Files (x86)with Program Files.
You can now launch vSphere Client from a Windows 7 or Windows 2008 R2 machine. You may have to right-click on the vSphere Client icon and choose Run as administrator.
相关文章推荐
- Windows 8 C#调用C++编写的Windows运行时组件
- 如何在Windows中运行MapReduce程序
- windows 2003自动运行bat批处理
- 运行时:Linux 和 Windows 2000上的高性能编程技术
- windows 下redis在后台运行(亲测)
- 使Qt程序在Windows系统中仅运行一个实例
- 从USB驱动器运行Windows 10
- 在win7下,easyphp安装过程中MSVCR110.DLL没有被指定在WINDOWS上运行,或者它包含错误
- 转:Windows 8上强制Visual Studio以管理员身份运行
- flume 学习四:windows下运行flume
- windows 版 nginx 运行错误的一些解决方法
- windows下eclipse cdt 无法运行和调试程序,没有输出(调试和运行时不修改系统变量导入第三方dll库)
- Windows下使用Sublime Text 2调试/运行 C/C++ 程序
- Windows运行命令集锦
- windows运行linux软件(cygwin)
- Ruby on rails开发从头来(windows)(二十八)- 使用Rake运行测试
- Windows程序运行原理及程序编写流程
- Windows下QT编译运行环境的建立
- Windows下Apache以FastCGI模式运行PHP
- Windows终止线程运行的四种方法