VMWare vSphere 4 on Windows 7 RC

Yesterday I needed to logon to our VMWare vShpere 4 console using my Windows 7 RC. After upgrading the client to the newest version and entering id/password a error box came up;

Error parsing the server “[server/ip]” “clients.xml” file. Login will continue, contact your system administrator.

And after that the following;

The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.

So I couldn’t get into VMWare management console. After some googling and testing there is a solution for the problem.

  1. Download this file (contains a .config file and a system.dll from .Net 3.5 SP1)
  2. Create a folder LIB in %programfiles%\VMWare\Infrastructure\Virtual Infrastructure Client\Launcher
  3. Copy the system.dll file into the LIB folder
  4. Create a system variable DEVPATH that points to %programfiles%\VMWare\Infrastructure\Virtual Infrastructure Client\Launcher\LIB
  5. Replace the VpxClient.exe.config in the %programfiles%\VMWare\Infrastructure\Virtual Infrastructure Client\Launcher with the new file

Now will the vSphere 4.0 work correctly.

7 comments:

Anonymous said...

I found your post while trying to Google a solution to this issue. Looks promising, except that your download link seems to be broken. It says "Invalid download session. Please initialize download session again." Back to Googling I guess....

RikardStrand said...

Thanks for pointing this out. I tried a new file hosting provider but have moved the file to a better place.

The file should be available now.

Anonymous said...

Thanks, I got the file now. But your instructions don't mention what to do with the .config file. I figured it out eventually though.

Michael said...

Thanks for this! Very handy.

You may want to make a note that if using a 64-bit version of Win7, the vSphere client is installed to C:\Program Files (x86)\, but %programfiles% points to c:\Program Files\.

So you'll need to use the full path in the DEVLAB variable.

Markus said...

Thanks for this!

For Windows 7 64-bit you can use the following program files variable:

%ProgramFiles(x86)%

Anonymous said...

A BIG thanks... Work perfectly!

Anonymous said...

Thank you very much.
It worked.