Error "Failed to access <ip address>/<server> login account or root could not connect to the VMWare Virtual Center or ESX server." when attempting to browse the Virtual Center/ESX server with domain admin/root accounts respectively.

Problem

Error "Failed to access / login account or root could not connect to the VMWare Virtual Center or ESX server." appears when attempting to browse the Virtual Center/ESX server with domain admin and/or root account respectively.

Error Message

Failed to access / login account or root could not connect to the VMWare Virtual Center or ESX server.

Excerpt from debug log of Backup Exec Agent for VMware Virtual Infrastructure (AVVI). 

[1640] 06/09/09 14:40:00 Request received.
[1640] 06/09/09 14:40:00   Request to execute a Connect to Virtual Center(0x00000001) command.
[1640] 06/09/09 14:40:00 Connecting to the server: [1640] 06/09/09 14:40:00 InitConnection: Connecting to: https://[1640] 06/09/09 14:40:00 InitConnection: Failed to connect to the server. Msg: ClientConnect: Object reference not set to an instance of an object.
[1640] 06/09/09 14:40:00 System.Exception: ClientConnect: Object reference not set to an instance of an object.
 at ManagedVmWebSrvc.ServiceUtil.ClientConnect(String url, String username, String password, String& sError)
 at ManagedVmWebSrvc.BaseClient.InitConnection(String url, String username, String password, UInt32 Mode)
[1640] 06/09/09 14:40:00 Could not connect to the server https:// 

Solution

1. Open My Computer and navigate to <WINDOWS>\Microsoft.NET\Framework\v2.0.50727\CONFIG
2. Locate the machine.config file and open it with notepad
3. Add the below lines to the end of the configuration file.
<system.net>
<defaultProxy>
<proxy
usesystemdefault = "false"
/>
</defaultProxy>
</system.net>

4. Restart IIS on the local media server.

Applies To

 VCB Proxy installed on the local media server and VMware Virtual Center Server installed on the remote ESX server.

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)