vCenter Hardware Status Error – You do not have permission for this command. ; Broken Search

Thursday, December 10, 2009
Ran into a Web Services error this week at a client that seems to be caused by the update to vCenter 4. After resolving the issue with Tech Support, it has to do with a newer version of a tomcat sub component (XHives) that is not updated with the vCenter 4.0 upgrade. Symptoms:
When using the Search functionality within the VI4 client, you receive an ‘Unable to connect to web services to execute query.’ error. Also the Hardware Status tabs throw back an error. ‘Do not have permission for this command.’
Both of these errors have to do with vCenter’s Web Services (TomCat Webserver). Resolution:
During the update from 3.5 to 4.0, the XHives sub component does not get updated to the latest version causing the Web Services to not function correctly.
To resolve the issue :

Stopping the VMware VirtualCenter Management WebServices service

Replace the C:\Program Files\VMware\Infrastructure\tomcat\webapps\vws\data\ directory with this folder : Data.zip