Pages

Friday, February 26, 2010

Cannot launch vSphere Client on Windows 7 or Windows 2008 R2


This is a very common issue going around where most of the people are facing the errors with Win7

  • Error parsing the server "" "clients.xml" file.


  • The type initializer for VirtualInfrastructure.Utils.HttpWebRequestProxy' threw an exception.


if you can update your vSpear 4 to vSpear 4 update 1 then your problem ends here. if you cant update for some reason then below is the work around that might help you. 

 You have to Bypass the normal .NET framework, to bypass the normal .NET Framework loading mechanism follow the below steps

Step 1: 

        Download the file system.dll. This file is typically located in  %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non-Windows 7 or Windows 2008 R2 machine with .NET v3.5 SP1 installed.

Step 2:

   Copy the file to C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib.

Note: If the lib directory does not exist, create it.
Step 3:

  Open VpxClient.exe.config to edit. 
Location of the file will be under C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher.

Add the following three lines to VpxClient.exe.config, just before :


Step 4:

     From Windows 2008 R2 or Windows 7 right click on the computer -> properties ->system Protection -> select Advance tab -> Environment Variables. 
     and create a new System variable called DEVPATH and assign the value:

C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

Note: For 32bit operating systems, replace Program Files (x86)with Program Files.

you are done, but You may have to right-click on the vSphere Client icon and choose Run as administrator.


Cheers,
All the Best ....... :) 


1 comment: