Wednesday, August 19, 2009

I cannot open my sharepoint site on server, but works on clients

Suppose you run into problems with your machine that you can never open the SharePoint site on your server
There might be several reasons why you may run into this

First question: do you have a Host header on the site?
Second: did you configure the site in a Host header mode?
Third : Is the site browse able on the server with servername ?

If you answer yes to all three I guess I know what to do, also even if you answer no to the third one we are still good….

Follow the magical KB http://support.microsoft.com/kb/896861 and disabled loopback check
Steps to do that are as follows:

Disable the loopback check

Follow these steps:
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. Right-click Lsa, point to New, and then click DWORD Value.
4. Type DisableLoopbackCheck, and then press ENTER.
5. Right-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. Quit Registry Editor, and then restart your computer.


Now it is okay if you do not restart the machine, sometimes it just takes it and the site should be then browse able on the server

13 comments:

Mad said...

Dude, you are a life saver :) this had been driving me nuts for quite a while now.

Nidhi said...

tats good to know :)

Vela said...

Worked like a charm... Thank you!

Mark said...

We're having a similar problem, in that Internet Explorer can't open the site on the SharePoint (2010, in this case) server. Oddly enough, Firefox installed on the server can open it.

We're also getting SSL errors in the crawler, and while I don't think that's relevant, it's odd as well.

Anonymous said...

Magic!!! You save me! :)

Anonymous said...

I had a similar issue which was going on for long time now! Thanks it saved me worked perfectly!

Anonymous said...

Just thought I'd add my kudos to the thread. As stated above this was driving me crazy also. I've got a test server and restoring the production site to it with a redirect in the Host file to point the site to the test server. So naturally I thought it was a DNS problem, but it worked fine redirecting on clients. You just made my day, week for that matter!

Anonymous said...

hello,
what about the reverse? i'm able to access my SharePoint sites from the server (naturally) but unable to do so from client machines.
Your help will be greatly appreciated.

thanks

Cyril

Unknown said...

Hey Nidhi,
That was truly a life saver. I have started configuring SharePoint site the first time and had minor heart attack when it happened.

Thank you,
RP

Sachin S said...

Thanks Nidhi,
It really Helpful and save my lots of time !!

Anonymous said...

First & Second are true in my case. but 3rd one is not. Am not able to open site with server name. Earlier I was not able to open site with host name only on the SharePoint server, but this got resolved by changing another registry settings.

I tried this in my dev server. but its doesn't work for me :-(

I want to open site with server name.

Carlton said...

Thanks so much. MS tech support referred me to a document that wasn't helpful. This fixed immediately.

Anonymous said...

Wow! Can't tell you how long I was fighting this and your solution worked for me! Thanks for posting!