Login to the query service failed error in vCenter when searching

I've just installed a new vCenter server and connected 5 ESXi hosts to it.  I have migrated a bunch of virtual machines over to this new vCenter and they all seem to be working well.

The issue I am having is when I try and use the vCenter search box (in the upper right side of the screen).  When I type my query (eg a server name) and press enter, I get an error message pop up saying "Login to the query service failed."

Any ideas what is causing this and how I can fix it?  The logs weren't very helpful.

vCenter 4U1 on a Windows Server 2003 32bit server, connected to a SQL 2005 SP2 server.
ESXi 4U1 hosts.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CrunchedAuthor Commented:
Link doesn't help, thanks anyway.
The guy who posted this: http://kendrickcoleman.com/index.php?/Tech-Blog/problem-solved-vcenter-server-cannot-access-the-health-service.html, also had no luck with the above KB. He seemingly called VMware Support and followed the steps outlined in the URL I just provided. See how that goes.

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

CrunchedAuthor Commented:
Thanks for the link, however we have found a fix.   The issue was not having a DNS entry for the vCenter server.  Our vCenter sits on another domain, and I was connecting via IP address.  If I add a host entry for that server, search works fine.
CrunchedAuthor Commented:
Not the solution to my problem, but thanks for the effort.
I have this problem but are running Vsphere 4.1 so the fix in the doesnt work.

Anyone else seen this problem on VSphere 4.1?

I have been experiencing all of the symptoms described in this KB article 1000153 (vcenter-server-search-fails  vcenter-hardware-status-fails  vcenter-service-status-fails) in vCenter 4.1 after tweaking tomcat's memory usage as per this thread :
http://communities.vmware.com/thread/212890?start=0&tstart=0 (adding "--JvmMx=512" to the end of 'ImagePath' of the service in the registry:HKLM\SYSTEM\CurrentControlSet\Services\vctomcat).

After removing the tweak, everything went back to normal. I hope this helps someone.
Just Add your DNS Entries in the TCP IP properties..it will Start Working...Roji
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.