如何让VMWare vSphere客户端在Windows 7 RC上运行?

尝试使用VMWare vShere Client连接到ESXi服务器时出现错误:

Error parsing the server "server" "clients.xml" file. Login will continue, contact your system administrator. 

其次是:

 The type initializer for 'VirtualInfrastructure.Utils.HttpWebRequestProxy' threw an exception. 

任何线索来解决这个问题?

Windows 7 x64 RC Build 7100
来自ESXi 4.0.0 ReleaseBuild-171294的vSphere Client

谢谢,
基思

Theres现在可直接从VM中获得VMware vSphere客户端和主机更新实用程序的更新,修正了这个问题,而不会破坏您的操作系统。

查找版本4.0更新1 | 208111 – 11/19/09

VMware社区站点上有一个线程,详细介绍了使其工作以及解决方法的麻烦

http://communities.vmware.com/thread/211440

在那个涉及.NET程序集的线程中有一个解决scheme

因为这花了我很多时间来弄清楚这一点,主要是因为我没有阅读线程的第二页这里是几乎完全从这里采取的Windows 7 x64的步骤。

  1. 在非Winodws 7 64位安装的Windows上
     的%SystemRoot%\ Microsoft.NET \ Framework64 \ V2.0.50727 \ System.dll中 

      C:\ Program Files(x86)\ VMware \ Infrastructure \ Virtual Infrastructure Client \ Launcher \ Lib 

    在Windows 7电脑上。

  2. 编辑VpxClient.exe.config以匹配以下内容:
     <?xml version =“1.0”encoding =“utf-8”?>
     <结构>
     <system.net>
     <connectionManagement>
     <透明/>
     <add address =“*”maxconnection =“8”/>
     </ connectionManagement>
     </system.net>
     <的appSettings>
     <add key =“protocolports”value =“https:443”/>
     </的appSettings>
     <运行> 
      <developmentMode developerInstallation =“true”/> 
      </运行>
     </configuration>
    
  3. 创build一个包含以下内容的batch file:
      SET DEVPATH = C:\ Program Files(x86)\ VMware \ Infrastructure \ Virtual Infrastructure Client \ Launcher \ Lib
     “C:\ Program Files(x86)\ VMware \ Infrastructure \ Virtual Infrastructure Client \ Launcher \ VpxClient.exe” 

我不得不使用:

 copy "%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\System.dll" "C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib" 

…因为“C:\ Program Files(x64)”在我的系统中不存在。

vSphere客户端正在我的Windows Server 2008 x64工作站上工作,但现在我已经升级到Windows 2008 R2 x64,并且得到了与Windows 7报告问题相同的症状。不幸的是,这个Windows 7技巧似乎并不在Win2008R2上工作。

Windows 7 32位

访问被拒绝。

C:\ Users \ a> COPY“C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ System.dll”“C:\ Program Files \ VMware \ Infrastructure \ Virtual Infrastructure Client \ Launcher \ Lib”否认。 0个文件被复制。

如果更新.net框架,您将在Windows XP上遇到同样的问题。 您可以安装vSphere Client 4.0更新1或更高版本来修复它。

外部VMWare文章

http://techhead.co/running-vmware-vsphere-client-on-windows-7/

上述说明适用于我[我将在这里复制他们,以防文章被删除]。

第1步。获取此DLL称为system.dll

*注意:此DLL通常位于安装了.NET v3.5 SP1 的非Windows 7 PC%SystemRoot%Microsoft.NETFrameworkv2.0.50727目录

第2步。下载完成后,将其安装到C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherLib目录中。 如果lib目录不存在,则创build它并将dll文件放入其中。

第3步。接下来,编辑可在C:Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher目录中find的VpxClient.exe.config文件,并将以下三行添加到文件中指定的位置下面的截图。 然后保存更改。

 <runtime> <developmentMode developerInstallation="true"/> </runtime> 

第4步。从Windows 7 System Properties单击Advanced选项卡,然后单击Environment Variablesbutton,因为我们要添加一个新的Systemvariables。

创build一个名为DEVPATH的新Systemvariables并分配以下variables值:

 C:Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib 

您现在可以开始在Windows 7机器上使用VMware vSphere Client了! 有些人报告说,不得不以Administrator身份运行客户端,所以如果遇到困难,可能会付出代价来尝试这一做法 – 幸好我没有遇到这个问题。 此外,您可能必须重新启动计算机(或重新启动explorer.exe进程)才能使新path信息生效。