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

Win7运行 VMware vSphere Client

Win7运行 VMware vSphere Client,Host Update Utility 4.0出错_第1张图片

 

 

 

 

点出确定之后报错“"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出错

Win7运行 VMware vSphere Client,Host Update Utility 4.0出错_第2张图片

 

 

 


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

 

你可能感兴趣的:(vmware,update,client,host,utility)