หน้าแรก | กระดานข่าว |  ปฏิทิน |  ค้นหา |  ติดต่อเรา VMWARE.IN.TH | Largest unofficial VMware Thailand User
หน้า: [1]   ลงล่าง
  พิมพ์  
ผู้เขียน หัวข้อ: VC : แก้ไขปัญหาไม่สามารถ Connection ได้ใน Windows 7  (อ่าน 2625 ครั้ง)
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
วันนี้ติดตั้ง vSphere 4 4 ESXi พอจะเรียกใช้งาน VMware vSphere Client แล้วเกิด 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.


ขั้นตอนการแก้ไขปัญหา

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. (download)

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>

4. 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"

5. (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

อ้างอิงบทความจาก : http://communities.vmware.com/thread/211440
« แก้ไขครั้งสุดท้าย: สิงหาคม 05, 2009, 01:01 โดย vmware.in.th » บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
sumpaee
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 12


ดูรายละเอียด
ผมลองทำตามแล้วมันเรียก vSphere ไม่ขึ้นเลยครับไม่รู้ทำขั้นตอนไหนผิด ><"

ผมลองกับ Windows 7 64bit Build7201
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ผมลองทำตามแบบนั้นเลยนะครับ ของผมเป็นแบบนี้ครับ แต่ใน 64 bit ไม่แน่ใจว่า path จะเหมือนกันไหมนะครับ ผมไม่มีเครื่องลองซะด้วย

อ้างถึง
SET DEVPATH=%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
"%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

แล้วไม่ทราบว่าได้เอาไฟล์จาก .net ตัวเก่ามาใส่แล้วยังครับ .. เวลาใช้งานต้องสั่งจาก .bat ที่เราสร้างขึ้นมาเท่านั้นนะครับ .. มันจะเปิดหน้าต่างขึ้นมาให้ครับ
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
sumpaee
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 12


ดูรายละเอียด
ได้แล้วครับขอบคุณมากครับ ต้องย้อนกลับไปดู link ของต่างประเทศ

ผมดันใส่ฟันหนูตรง DEVPATH พอเอาออกก็ใช้ได้ครับ อ่อ Path สำหรับ 64bit จะเป็นแบบนี้ครับ

อ้างถึง
SET DEVPATH=%ProgramFiles(x86)%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib
"%ProgramFiles(x86)%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ขอบคุณครับ เอามาแชร์ไวจริง ๆ ผมต้องกลับมาใช้งาน xp ต่อครับ เครื่องรองรับไม่ไหว .. แล้วไม่ทราบว่าทำระบบไปเยอะแล้วยังครับ ..
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
sumpaee
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 12


ดูรายละเอียด
ขอบคุณครับ เอามาแชร์ไวจริง ๆ ผมต้องกลับมาใช้งาน xp ต่อครับ เครื่องรองรับไม่ไหว .. แล้วไม่ทราบว่าทำระบบไปเยอะแล้วยังครับ ..

ยังอยู่ในขั้นตอนทดสอบ tools ต่างๆอยู่ครับเสร็จแล้วต้องนำขึ้นเสนอผู้ใหญ่เพื่อทำ consolidation server ต่อไป..ไม่น่าเกิน Q3 ครับผม
บันทึกการเข้า
 
humhum
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 5


ดูรายละเอียด
เพิ่มเติมให้หน่อยคือตรง
ProgramFiles มันไม่ได้เว้นวรรคนะครับ
เวลาใส่จริงๆ ต้องเว้นวรรคด้วย

SET DEVPATH= c:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
"c:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

ผมก็หาอยู่นาน ^ ^"
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ขอบคุณครับ ..​พอดีลงแบบ 64 bit เลยแถม (x86) เข้ามาด้วย ..​
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
Edwin
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 20


ดูรายละเอียด อีเมล์
ขอบคุณครับ พึ่งใช้ windows 7 พอดีคับ
บันทึกการเข้า
 
sakura
Jr. Member
**
ออฟไลน์ ออฟไลน์

กระทู้: 72


ดูรายละเอียด
เพิ่มเติมค่ะ ถ้าใครใช้เป็น vCenter Server 4.0 Update 1 หรือ ESX 4.0 Update 1 แล้วปัญหานี้ถูกแก้ไขใน version นี้แล้วค่ะ ไม่ต้องเสียเวลาแก้ไขที่ Client แล้ว

VMware vCenter Server 4.0 Update 1 Release Notes
http://www.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html

VMware ESX 4.0 Update 1 Release Notes
http://www.vmware.com/support/vsphere4/doc/vsp_esx40_u1_rel_notes.html

Windows 7 and Windows 2008 R2 support — This release adds support for 32-bit and 64-bit versions of Windows 7 as well as 64-bit Windows 2008 R2 as guest operating system platforms. In addition, the vSphere Client is now supported and can be installed on a Windows 7 platform.
บันทึกการเข้า
 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
อยากจะให้รองรับบน MAC บ้างจังครับ ...
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
หน้า: [1]   ขึ้นบน
  พิมพ์  
 
กระโดดไป:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC | Thai language by ThaiSMF Valid XHTML 1.0! Valid CSS!