401.1 Error When Accessing SharePoint From Server

I ran into this issue several times in the past in setting up SharePoint environments (for both internal development use and customers) so I figured it was time to write a blog post about it.  If you are running SharePoint Server 2007 or WSS 3.0 on  Windows Server 2003 SP1 or later you will run into authentication issues if you are trying to access a SharePoint site using host headers from the server itself (i.e. host file has portal.mydomain.com pointed to 127.0.0.1).  This issue manifests itself as the result of a loop back security check that Microsoft built in to Windows Server 2003 SP1 and later.  The purpose of the loopback check is to eliminate denial of service attacks however it causes issues with access SharePoint sites locally from the server.  In a typical production environment this is typically not a problem since you rarely access SharePoint sites (besides central admin) from  a front end web server itself.  However I do have physical and virtual development environments where all activities take place from the server, so this can cause some heartburn unless you have worked through the issue before.  You can read the detailed KB article at http://support.microsoft.com/kb/926642 & http://support.microsoft.com/kb/896861.  Here is a rundown of how to fix the problem.   I typically disable the loopback check however this is not recommended for production server environments.

Method 1: Disable the authentication loopback check
Re-enable the behavior that exists in Windows Server 2003 by setting the DisableLoopbackCheck registry entry in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry subkey to 1. To set the DisableLoopbackCheck registry entry to 1, follow these steps on the client computer:

1. Click Start, click Run, type regedit, and then click OK. 
2. Locate and then click the following registry subkey: 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. Exit Registry Editor.
8. Restart the computer.
Note You must restart the server for this change to take effect. By default, loopback check functionality is turned on in Windows Server 2003 SP1, and the DisableLoopbackCheck registry entry is set to 0 (zero). The security is reduced when you disable the authentication loopback check, and you open the Windows Server 2003 server for man-in-the-middle (MITM) attacks on NTLM.


Method 2: Create the Local Security Authority host names that can be referenced in an NTLM authentication request
To do this, follow these steps for all the nodes on the client computer:

1. Click Start, click Run, type regedit, and then click OK. 
2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
3. Right-click MSV1_0, point to New, and then click Multi-String Value. 
4. In the Name column, type BackConnectionHostNames, and then press ENTER. 
5. Right-click BackConnectionHostNames, and then click Modify. 
6. In the Value data box, type the CNAME or the DNS alias, that is used for the local shares on the computer, and then click OK.

Note Type each host name on a separate line.

Note If the BackConnectionHostNames registry entry exists as a REG_DWORD type, you have to delete the BackConnectionHostNames registry entry.
7. Exit Registry Editor, and then restart the computer. 

Bookmark and Share

posted @ Thursday, October 30, 2008 10:15 PM

Print

Comments on this entry:

# re: 401.1 Error When Accessing SharePoint From Server

Left by Gregn at 8/28/2009 10:14 AM
Gravatar
Thank you! Method 2 worked perfectly!

# Local SharePoint on Server 2008 Development

Left by Fear and Loathing at 9/3/2009 11:41 AM
Gravatar
Sometimes I'm such an idiot I wonder how I get enough neurons firing in the morning to get out of bed

# Local SharePoint on Server 2008 Development

Left by SharePoint MVP Blogs at 9/3/2009 12:21 PM
Gravatar
Sometimes I'm such an idiot I wonder how I get enough neurons firing in the morning to get out of

# re: 401.1 Error When Accessing SharePoint From Server

Left by saç ekimi at 5/13/2010 4:49 AM
Gravatar
Hi all;
requirements and should not be on this blog first of this sitesiyi inceledigimiz evden eve nakliyat
errors than we do with a good opportunity to face the other blog ankara evden eve nakliyat
a quality that is important for us as we serve our hair, so take your time and valuable friend in you saç ekimi
whatever you call it the sac ekimi ve evden eve nakliyat most beautiful sites...

# re: 401.1 Error When Accessing SharePoint From Server

Left by Ayırma Büyüsü at 5/22/2010 4:17 AM
Gravatar
Sometimes I'm such an idiot I wonder how I get enough neurons firing in the morning to get out of

# re: 401.1 Error When Accessing SharePoint From Server

Left by RandallKristie34 at 6/24/2010 7:41 AM
Gravatar
If you're in not good state and have got no money to move out from that, you would require to take the personal loans. Because that would help you for sure. I take consolidation loans every time I need and feel myself good because of it.

# re: 401.1 Error When Accessing SharePoint From Server

Left by FRANCIS24Herminia at 6/26/2010 1:02 PM
Gravatar
Opting for dissertations and some buy thesis service, a lot of people do not find such good enough economics thesis close to this good topic.

# re: 401.1 Error When Accessing SharePoint From Server

Left by AlisonPierce28 at 6/26/2010 1:04 PM
Gravatar
Thank you, it's very brilliant article it might be very hospitable for students. For example last year when I had a difficult of time at the end of semester with a continuous flow of academic assignments and job, I had a awesome idea to get essays or term paper in essay writers. I was so bushed that I did not care for what can begin when my academic work was written by flipside person. To my greatest surprise, research paper was worthy the price I paid for it. I was so pleased with the quality that urgently assortmented another paper.

# re: 401.1 Error When Accessing SharePoint From Server

Left by StephensJeanette at 6/27/2010 2:17 AM
Gravatar
Very often it falls out that you are lack of time to finish the the dissertation close to this topic. Lots of different people do a problem from that, just because some of them do not know about thesis service, but I will show you information about the ways to determine the awesome custom dissertation and the way to buy dissertations with a small strain of your pocket.

# re: 401.1 Error When Accessing SharePoint From Server

Left by WebbAddie22 at 6/27/2010 5:57 AM
Gravatar
The dissertation service can provide scholars with the thesis abstract but the well done issue just about this topic students could find on this site.

# re: 401.1 Error When Accessing SharePoint From Server

Left by SuttonIsabelle at 6/27/2010 11:02 PM
Gravatar
I probably must follow your fantastic data connected with this good topic in the college essays & humanities essays paper writing. Thence, thanks for your stuff.

# re: 401.1 Error When Accessing SharePoint From Server

Left by ShortEstela at 6/28/2010 3:21 AM
Gravatar
How can it be that you have such a lot best facts as this topic? Entirely the experienced term paper writing services get know how to compose such great buy thesis and dissertation writing service.

# re: 401.1 Error When Accessing SharePoint From Server

Left by FLORESTasha31 at 6/30/2010 4:01 AM
Gravatar
Hate course work writing? Don't worry, just because specialists suggest to buy coursework.

# re: 401.1 Error When Accessing SharePoint From Server

Left by Beverly27Tucker at 6/30/2010 4:07 AM
Gravatar
This site is good for taking free practice tests!! All would be OK with your academic process if some guys see the experienced custom writing service I recommend term paper services.

# re: 401.1 Error When Accessing SharePoint From Server

Left by Rouven at 7/5/2010 9:41 AM
Gravatar
There´s nothing left too say. Well done jobs gera.

# re: 401.1 Error When Accessing SharePoint From Server

Left by Dennis29Christi at 7/6/2010 4:59 PM
Gravatar
Whatever course you decide relating, there is ever somebody to tell you that you are amiss. There are always difficulties nascenting which termt you to trust that your critics are right. But our service will help you at any time to write your research paper. I commend youdissertation that will support you in your college life. We will assist you to get up and become a prosperous classman!

# re: 401.1 Error When Accessing SharePoint From Server

Left by injury lawyer at 7/7/2010 9:45 PM
Gravatar
I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well.

# re: 401.1 Error When Accessing SharePoint From Server

Left by ars at 7/12/2010 2:58 PM
Gravatar
sitenizi inceledik ve gerçekten güzel ve faydalı bulduk biz aşagıdaki siteler olarak destekçiniz;
evden eve nakliye
ankara evden eve nakliyat
ankara evden eve nakliyat
ankara cam balkon
eşya depolama
eşya depolama
eşya depolama

# re: 401.1 Error When Accessing SharePoint From Server

Left by SEO Consultants at 7/14/2010 6:20 AM
Gravatar
Thank for the post this was a helpful tutorial for me.

# re: 401.1 Error When Accessing SharePoint From Server

Left by skin tag removal at 7/17/2010 1:40 AM
Gravatar
I have to check this dude however you are brillant.

# re: 401.1 Error When Accessing SharePoint From Server

Left by vedic math at 7/17/2010 2:07 AM
Gravatar
you have said everything which i need.. Thanks buddy

# BBC

Left by dissertation service at 7/21/2010 1:54 AM
Gravatar
Whether we care for it or not, formerly in our lives, we would need to carry out custom term papers and other written projects. It is categorically not clear but very alluring to produce a research. To do that, you need to read a range of articles and books, or you can just get some paper service performed by essays writers and save your time like some quick help with the American Dream.

# re: 401.1 Error When Accessing SharePoint From Server

Left by custom term paper at 7/21/2010 6:47 AM
Gravatar

This takes a long period of time to get some information just about this good post thence the term paper writing service would support all to select the proper custom essay and to buy essay.

# re: 401.1 Error When Accessing SharePoint From Server

Left by free essay at 7/22/2010 11:54 AM
Gravatar
Thanks again for a very well written post, I thought I would leave some positive feedback as this blog has me coming back time and time again, many thanks from the UK and keep up the good work.
Terrorism essays | Censorship essays

# re: 401.1 Error When Accessing SharePoint From Server

Left by custom essay writing service at 7/26/2010 12:37 AM
Gravatar

The write my paper service should use your superb release for a further evolution, because some students always look for the university essay of high quality.

# re: 401.1 Error When Accessing SharePoint From Server

Left by Organic Gardening at 7/26/2010 2:30 AM
Gravatar
I am using the sharepoint point but this error was really creating problem for me thanks for giving the solution.

# re: 401.1 Error When Accessing SharePoint From Server

Left by payday loans at 7/26/2010 4:33 PM
Gravatar
I loved the editorial. cash advance same day It is very interesting. cash advances loans Thank you for the information.

# re: 401.1 Error When Accessing SharePoint From Server

Left by web design los angeles at 7/27/2010 9:57 AM
Gravatar
It is so amazing that you’ve got so myny people to help you compose the blog and it is really exciting to read and enjoy all the details of your stories that have never touched me.

# re: 401.1 Error When Accessing SharePoint From Server

Left by ClemonsQueen26 at 7/27/2010 9:06 PM
Gravatar
I would talk oft about your good fact. But as for me, the best mobile ringtones site must confer with you to perform the perfect range mono ringtones blog.

# re: 401.1 Error When Accessing SharePoint From Server

Left by Houston Local Locksmith at 7/28/2010 12:03 PM
Gravatar
Oh this is apt for the situation now I know what to do about it

Your comment:



 (will not be displayed)


 
 
 
Please add 4 and 6 and type the answer here:
 

Live Comment Preview:

 
«July»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567