客户机是windows7(32位),已经安装.net4.0。
ESX SERVER 4.0。
win7上运行VMware vSphere Client连接ESX SERVER 4.0时,
提示:“分析服务器192.168.1.40”的“clients.xml”文件时出错
点击确定后,
提示:VirtualInfrastructure.Utils.HttpWebRequestProxy的类型初始值设定项引发异常
因此无法进入ESX 4.0。
解决方法:
1、从windows xp pro系统中复制.NET2.0下的System.dll文件放到win7客户机的“C:/Program Files/VMware/Infrastructure/Virtual Infrastructure Client/Launcher/lib”下。如果lib不存在该文件夹则自行建立。该文件可以在windows xp pro系统中的目录“C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727”中找到,如果实在找不到可联系QQ20649445我发送。
2、编辑win7客户机“C:/Program Files/VMware/Infrastructure/Virtual Infrastructure Client/Launcher”下的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、在win7客户机中增加用户配置的环境变量,其值为“DEVPATH”,“C:/Program Files/VMware/Infrastructure/Virtual Infrastructure Client/Launcher/lib”。
4、在win7中重新运行VM client即可连接。