Error Parsing the server when using vSphere
When you attempt to run the VSphere client on Windows 7, the following errors are received and you are unable to proceed any further:
“Error parsing the server “<server name” “clients.xml” file.” – once you click OK, you get the following message:
“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”
As I am running Windows 7 x64 version I will use ‘x86’ after every Program Files line. If you’re using x86 bit version of Windows 7, remove the ‘x86’ part.You should first obtain a DLL, called system.dll from a non-Windows 7 machine with .NET v3.5 SP1 which resides in the following location:
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory.
or you can download it from HERE. MD5: 86601F6A08C75A16D4D0509CB31EE318
Once downloaded, copy the file in “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib” directory. If the ‘lib’ directory doesn’t exist, create it and copy the file in it.
Now, you should edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following lines to it (right above the </configuration> line.
<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
…
<runtime>
<developmentMode developerInstallation=”true”/>
</runtime>
</configuration>
Open Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button . We will add a new system variable.
Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
You’re done! The VSphere client should be working now. If you still experience issues, try to run it as an administrator.
Thanks this worked a treat
This will eliminate the command window you suggested minimizing, by using the start command, and automates the fix so people don’t have to edit things manually. It also supports integrated authentication if you pass the VC hostname, and detects if you’ve installed on a 64 bit host, defaulting to the ProgramFiles(x86) dir for launch if so.
It requires that you have a distribution, which I have as domaincontroller
etlogonvmware, which has the vpxclient.exe.config and the system.dll in them.
Yours seems to be missing backslashes, so I’m doubling them up when I post…we’ll see how it goes.
Kevin Gould
Hello Kevin,
I’ve originally posted this solution on our forums:
https://www.wincert.net/forum/index.php?/topic/6658-error-parsing-the-server-when-using-vsphere-on-windows-7/
Once I’ve copied it here, I haven’t noticed that I’ve lost backslashes.
I know this isn’t the best commenting software, but I invite you to our forums where you can post much better 😉
Best regards,
Admin
Thanks,
I wasn’t having much luck here, so thanks for deleting the mess of broken code in the comments. I’ll post the solution in the forums.
Thanks, This worked like a charm.
Now if I could only get my VPN software working with Windows 7 64 bit, I would be a real happy camper.
@Ray
Have the same issue as you do 😛
There is a VPN client from http://www.shrew.net that I have managed to get working with Windows 7 64-bit. I am connecting to a NetGear FVS336G.
I’ve worked with the 64-bit clients on XP, Vista, Server, and 7. All work fine.
The open source VPN client VPNC works great on Win7 64bit (I’m using a Cisco profile).
http://sourceforge.net/projects/vpncfe/
Great solution worked fine for me! Thank you:-);-)
Description:
Stopped working
Problem signature:
Problem Event Name:CLR20r3
Problem Signature 01:vpxclient.exe
Problem Signature 02:4.0.0.0
Problem Signature 03:49f2a55c
Problem Signature 04:mscorlib
Problem Signature 05:2.0.0.0
Problem Signature 06:4a275af7
Problem Signature 07:3613
Problem Signature 08:34
Problem Signature 09:System.ArgumentException
OS Version:6.1.7600.2.0.0.256.1
Locale ID:1033
Thanks, its work!!!
Just great ! THank You !
Thanks. Good Catch.:-)