I had a similar issue.. except my vSphere Client worked fine - it was only the Web Client throwing up the error connecting to inventory service.. I solved it by following the steps in the following link:
Procedure
1
| Stop the vCenter Inventory Service.
| ||||
2 | |||||
3 | Delete the entire contents of the C:\Program Files\VMware\Infrastructure\Inventory_Service\data directory. If you installed vCenter Server in a different location from the default C:\Program Files\, adjust the path accordingly. | ||||
4 | Change directory to C:\Program Files\VMware\Infrastructure\Inventory_Service\scripts If you installed vCenter Server in a different location from the default C:\Program Files\, adjust the path accordingly. | ||||
5 | Run the createDB.bat command, with no arguments, to reset the vCenter Inventory Service database. | ||||
6 | Start the vCenter Inventory Service.
| ||||
7 | Change directory to C:\Program Files\VMware\Infrastructure\VirtualCenter Server\isregtool. If you installed vCenter Server in a different location from the default C:\Program Files\, adjust the path accordingly. | ||||
8 | Run the register-is.bat command to update the stored configuration information of the Inventory Service. register-is.bat vCenter_Server_URLInventory_Service_URLLookup_Service_URL Use the following example as a model. register-is.bat https://machinename.corp.com:443/sdkhttps://machinename.corp.com:10443https://machinename.corp.com:7444/lookupservice/sdk In this example, 443, 10443, and 7444 are the default HTTPS port numbers for vCenter Server, Inventory Service, and vCenter Single Sign On respectively. If you use custom ports, replace the port numbers in the example with the port numbers you use. | ||||
9 |