4. June 2009 18:09
Today I found out that search in our SharePoint portal is not working. When I tried to search for a specific content I got a message on Search result page that nothing is found. I thought, well I just have to start the full crawl and everything is going to be Fine. WRONG!
So i Went through all the configuration on my SharePoint Server. Services on server were running. So I thought ok, the problem must be somewhere else. Second thing I did, I checked the Web application content database and found out that the content database has all the right settings including SharePoint Services Search Server. Hmmm, so than I went to SharedServices administration and checked what The ..., is going on.
Then again, everything seems fine, Index server is properly set. I started full crawl, and after 2 seconds I got an error. ACCESS DENIED!
Wow, Wait a minute I thought to myself, how can that be?
I opened Application management/Policy for Web application and saw that Search accoutn has a full read access, which is OK.
Something must have happened. I opened up my best friend Google and found out this:
This issue occurs if you install Microsoft Windows XP Service Pack 2 (SP2) or Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows XP SP2 and Windows Server 2003 SP1 include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.
It also applies for Windows Server 2008, I know that now.
And the resolution is:
Method 2: Disable the loopback check
Follow these steps:
Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key:
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
Quit Registry Editor, and then restart your computer