Windows 7下使用VMware vSphere Client

      ESXi4安装好后,通过http://191.168.15.101进去下载了VMWare vSphere Client,安装后连接ESXi服务器的IP 192.168.15.101,居然连不通,系统提示"分析服务器"192.168.15.101"的"clients.xml"文件时出错。登录将继续,请联系系统管理员。",点出确定之后继续报错""VirtualInfrastructure.Utils.HttpWebRequestProxy"的类型初始值设定项引发异常。",进而无法田连接到ESXi4。经过多方努力,这一问题终得解决。原来是Win7下的Dotnet是3.5版本,而VMWARE 的vShpere用的是2.0。解决方法如下:


1. 打开文件夹: C:/Program Files(X86)/Vmware/Infrastructure/Virtual Infrastructure Client/Launcher


2. 编辑文件 VpxClient.exe.config 增加如下内容(红色显示):

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <system.net>
            <connectionManagement>
                <clear/>
                <add address="*" maxconnection="8" />
            </connectionManagement>
        </system.net>
        <appSettings>
            <add key = "protocolports" value = "https:443"/>
        </appSettings>
        
<runtime>
            <developmentMode developerInstallation="true"/>
        </runtime>

    </configuration>


3. 创建一个文件夹,放dotnet2.0的 System.dll 放到新建的文件夹中。

 

4. 编辑系统的环境变量,新增一个叫DEVPATH环境变量,值就是你放dotnet2.0的System.dll的目录,比如我的:
    C:/Program Files(x86)/VMware/Infrastructure/Virtual Infrastructure Client/Launcher/Lib

现在,vSphere client 应该可以工作了。

 

But the Host Update Utility still won't work, so there's just one additional steps to get that working:
5. Copy VpxClient.exe.config file (from above) to the following location, re-naming it VIUApp.exe.config:
    C:/Program Files (x86)/VMware/Infrastructure/VIUpdate 4.0/
注意一下,这个里面说到的System.dll文件可以在XP等之类的装了.net 2.0的机器上复制到,具体位置位于
%SystemRoot%/Microsoft.NET/Framework/v2.0.50727/System.dll,Win7自带的就是.net 3.5了。

 

 

原文地址 http://wenxuecn.blog.163.com/blog/static/2208345200973032136401/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值