Win7运行 VMware vSphere Client,Host Update Utility 4.0出错

Win7运行 VMware vSphere Client

image

 

 

 

 

点出确定之后报错“"VirtualInfrastructure.Utils.HttpWebRequestProxy”的类型初始值设定项引发异常。”,进而无法连接到ESXi4。原来是Win7下的Dotnet是3.5版本,而VMWARE 的vShpere用的是2.0。解决方法如下:
1. 打开文件夹: C:\Program Files\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\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

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

注意一下,这个里面说到的System.dll文件可以在XP等之类的装了.net 2.0的机器上复制到,具体位置位于
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\System.dll,Win7自带的就是.net 3.5了。

image

 

 

 

 

 

 

 

 

 

 

 

 请在附件下载,WIN EN XP3 dotnetfx2.0 System.dll

image

 

 

 

 

 

 

 

 

Win7运行vSphere Host Update Utility 4.0出错

image

 

 

 


1.复制 C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe.configC:\Program Files \VMware\Infrastructure\VIUpdate 4.0\ 文件夹下

2.重命名 VpxClient.exe.config VIUApp.exe.config 即可运行!

image

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值