Tuesday, 1 December 2015

HTTP 404 Error While Logging Into Web Client

Written by Suhas Savkoor



So, you might have deployed a fresh instance of vCenter and everything is going well. You are able to login to the vCenter using the Windows C# client. Then you think, why not I use web client too, and you open up a browser and enter the vCenter IP and the web client port and it pops up a message saying HTTP 404 Error.


Well, what now?

It looks like this is a known issue with Web Client 5.1 and 5.5. There are a couple of workarounds.

First one:

1. Uninstall and reinstall the Web Client
2. During installation do not specify any specific paths, keep all the values to default.

Unfortunately this did not work for my case. What was happening in my case was, the default installation directory was going to C:\Program Files\VMware.....
Now, this space between Program and Files can cause the HTTP 404 Issue. Note that this won't be the case for everyone.

So in this case, we need to specify a Custom Directory, this brings to next path.

Second One:

1. Uninstall Web Client
2. Reinstall with a Custom directory with no spaces at all. My directory in this case was C:\WebClient

Well, this worked. I gave a couple of minutes for the service to kick in and I was able to login to web Client.

Third One:

If you install Web Client on a different directory, then you will have to perform some additional steps. You will have to create a symbolic link for the registry update.

These steps can be found in this KB.

Well, if you are lucky everything will run well. If not, workarounds save the day.