Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Connecting to the vSphere Client fails with the error: VirtualInfrastructure.Utils.AssemblyResolver Threw an Exception (2000383)

Symptoms

  • Launching the vSphere Client in Windows fails while attempting to log in.
  • You see the error:

    [        :ShowExcp:M: 6] 2011-05-27 10:35:30.520  Error: An internal error occurred in the vSphere Client.
    Details: The type initializer for 'VirtualInfrastructure.Utils.AssemblyResolver' threw an exception.


  • The vSphere Client logs contain entries similar to: 

    [        :ShowExcp:M: 6] 2011-05-27 10:35:30.520  Error: An internal error occurred in the vSphere Client.
    Details: The type initializer for 'VirtualInfrastructure.Utils.AssemblyResolver' threw an exception.

    Contact VMware support if necessary.
    System.TypeInitializationException: The type initializer for 'VirtualInfrastructure.Utils.AssemblyResolver' threw an exception.
       at VirtualInfrastructure.Utils.AssemblyResolver.set_MainAppPath(String value)
       at VpxClient.UI.OnSuccessfulLogin()
       at VpxClient.UI.OnLoginEvent(String message, Object[] args)
     System.NullReferenceException: Object reference not set to an instance of an object.
       at VirtualInfrastructure.Utils.AssemblyResolver.SetupDefaultPathVariables()
       at VirtualInfrastructure.Utils.AssemblyResolver..cctor()

Note: vSphere Client logs are located by default at %USERPROFILE%\Local Settings\Application Data\VMware\vpx

 


Resolution

This issue may occur when vSphere Client cannot start because the required Path environment variable is not set or set incorrectly.

To display the environmental variables on the system, go to the Windows DOS cmd prompt, and run the command: set

For example, a working Path is (for Windows 7 x64):
%SystemRoot%\system32;%SystemRoot%;


Note
  • To edit or set the Path environment variable, go to System Properties > Advanced > Environment Variables > System variables
  • Edit the variable Path as appropriate, or create if it is missing


Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 2 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 2 Ratings
Actions
KB: