VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 ... 13 Previous Next 182 Replies Last post: Nov 25, 2009 1:53 PM by jaspain  

vsphere client on Windows 7 rc posted: May 22, 2009 11:00 AM

Click to view brettcarr1's profile Novice 42 posts since
Jul 6, 2008

Has anybody managed to get the vsphere client working on Windows 7, it installed fine but when I try and login to an esx server, I get an error:

Error Parsing the server "192.168.1.10" "clients.xml" file Login will continue contact your system administrator

Clicking ok gives me another error

The type initializer for "VirtualInfrastrcture.Utils.HttpWebRequestProxy" threw an exception

Clicking ok returns me to the login dialogue.

I know Windows 7 isn't released yet but as it's so close I would of thought vmware would of tested it.

Brett

Re: vsphere client on Windows 7 rc

1. May 22, 2009 11:04 AM in response to: brettcarr1
Click to view Troy Clavell's profile Guru 6,293 posts since
Oct 12, 2007
as you said since Windows 7 is still in RC, you may have a tough time finding support. I've attached the compatibility matrix just in case

http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf

Re: vsphere client on Windows 7 rc

2. May 24, 2009 12:18 AM in response to: brettcarr1
Click to view AndreTheGiant's profile Guru 5,984 posts since
Aug 28, 2008
Use Windows XP Mode for Windows 7:
http://community.winsupersite.com/blogs/paul/archive/2009/04/24/secret-no-more-revealing-virtual-windows-xp-for-windows-7.aspx

Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Re: vsphere client on Windows 7 rc

4. May 24, 2009 12:39 AM in response to: brettcarr1
Click to view AndreTheGiant's profile Guru 5,984 posts since
Aug 28, 2008
:)

Andre

Re: vsphere client on Windows 7 rc

5. May 24, 2009 12:45 AM in response to: brettcarr1
Click to view Rumple's profile Master 1,266 posts since
Jan 6, 2005
While the XP mode provides a temporary solution it better not last long as trying to manage the console of Virtual Machines through another VM causes a hell of alot of mouse control problems that quickly get very frustrating.

Seems to me that Windows 7 should have been tested and working long before now, its not like its a complete re-write of the operating system.


But then again, Virtual Center and the VIC were never vmware's strong point and obviously that trend is going to continue.

Re: vsphere client on Windows 7 rc

6. May 24, 2009 6:52 AM in response to: brettcarr1
Click to view Troy Clavell's profile Guru 6,293 posts since
Oct 12, 2007
there are many threads open regarding the inability to run the vSphere Client on Windows 7..... The bottom line is no matter what you do, it won't work.


http://communities.vmware.com/thread/211081

Re: vsphere client on Windows 7 rc

7. May 24, 2009 2:04 PM in response to: brettcarr1
Click to view atbnet's profile Expert 287 posts since
May 26, 2008

As Troy says this does not work on Windows 7 yet, and I would not expect it to / complain as Windows 7 is not yet RTM anyway.

http://www.vmadmin.co.uk/resources/36-virtualcenter/148-vsphereclientserrxml


Andy, VMware Certified Professional / VMware vExpert Award 2009
Help, Guides and How Tos http://www.vmadmin.co.uk/

If you found this information useful please award points using the buttons at the top of the page accordingly.

Re: vsphere client on Windows 7 rc

8. May 24, 2009 8:38 PM in response to: atbnet
Click to view ftubio's profile Novice 9 posts since
May 24, 2009
(Apologies if this is posted twice. I had some trouble with the editor and may have accidentally posted the message while editing it.)

Here's a possible workaround for this problem.

1. Obtain a copy of %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\System.dll from a non Windows 7 machine that has .NET 3.5 SP1 installed.

2. Create a folder in the Windows 7 machine where the vSphere client is installed and copy the file from step 1 into this folder. For example, create the folder under the vSphere client launcher installation directory (+%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib+).

3. In the vSphere client launcher directory, open the VpxClient.exe.config file in a text editor and add a <runtime> element and a <developmentMode> element as shown below. Save the file.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
...
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
</configuration>

3. Create a batch file (e.g. *VpxClient.cmd*) in a suitable location. In this file add a command to set the DEVPATH environment variable to the folder where you copied the System.dll assembly in step 2 and a second command to launch the vSphere client. Save the file. For example,

SET DEVPATH=%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
"%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

4. (Optional) Replace the shortcut on the start menu to point to the batch file created in the previous step. Change the shortcut properties to run minimized so that the command window is not shown.

You can now use the VpxClient.cmd (or the shortcut) to launch the vSphere client in Windows 7.

Note that this workaround bypasses the normal .NET Framework loading mechanism so that assembly versions in the DEVPATH folder are no longer checked. Handle with care.

Fernando

Re: vsphere client on Windows 7 rc

9. May 24, 2009 11:09 PM in response to: ftubio
Click to view bazza52's profile Enthusiast 24 posts since
Apr 16, 2008
That works a treat - thanks Fernando!

Re: vsphere client on Windows 7 rc

10. May 25, 2009 1:16 AM in response to: bazza52
Click to view KamiCrazy's profile Novice 6 posts since
May 24, 2009
Instead of creating a batch file to load it I set a DEVPATH environment variable instead.

That might not work for everyone though, it depends on whether you have used the developmentmode trick for any other .net applications.

Re: vsphere client on Windows 7 rc

11. May 25, 2009 5:12 AM in response to: KamiCrazy
Click to view ftubio's profile Novice 9 posts since
May 24, 2009

KamiCrazy wrote:Instead of creating a batch file to load it I set a DEVPATH environment variable instead.

That might not work for everyone though, it depends on whether you have used the developmentmode trick for any other .net applications.

Sure. You can globally set the DEVPATH variable but I prefer to do it where it has the least impact. Besides, I don't trust myself to remember the change in a few months (days?) time and this reduces the chance that I will have some left over changes in my configuration.

Regards,

Fernando Tubio


Re: vsphere client on Windows 7 rc

12. May 25, 2009 5:29 AM in response to: ftubio
Click to view mikelundy's profile Novice 10 posts since
May 22, 2009
Thanks! That worked like a charm!

Re: vsphere client on Windows 7 rc

13. May 25, 2009 3:10 PM in response to: ftubio
Click to view crash98's profile Lurker 3 posts since
May 25, 2009
this doesn't work for me. I'm using windows 7 rc0 ultimate x64... I've changed vsphere.exe.config but when I launch vsphere.cmd I get usual error "the application stop working"...

Any advice?

Thank You

Re: vsphere client on Windows 7 rc

14. May 25, 2009 3:45 PM in response to: crash98
Click to view ftubio's profile Novice 9 posts since
May 24, 2009

If you are using x64, replace all references to %ProgramFiles% with %ProgramFiles(x86)% in the steps that I described previously. Let me know if that helps.

Fernando Tubio

1 2 3 ... 13 Previous Next Go to original post

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities