blog community
Inaccessible Team Website with Share point SP2
Marcel de Vries, MVP Team System

Syndication

As you might have thought, I installed several Team foundation servers for different customers I work for.
Last week I experienced troubles with the Team Foundation Share Point website all of a sudden, while doing my routine as many times before. I installed the server on a Clean Windows 2003 Server and used the SQL Server September CTP. Because I did not have share point available, I downloaded the installation package and there I should have been more careful. I downloaded the Share Point version that has SP2 slipstreamed. This never bit me before, but this time I installed the server in a domain that is not  “Kerberos” enabled.

Share Point now installs with “Kerberos” authentication enabled by default. Because this server can not use Kerberos authentication (we don’t have a KDC running) I ran into trouble. I was able to create the team projects, but I was not able to access the Team Project site. Not even on my local server logged in as Admin. When providing the domain account password I still got the message: HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.Internet Information Services (IIS)

It took me some while to figure out what the problem was, but found this document to be very helpful.

The only thing I needed to do is to change the web server configuration to use NTLM. This can be done using the following steps: (excerp from document)

To configure Windows SharePoint Services to use NTLM authentication

  1. Determine the virtual server ID for the SharePoint Central Administration and SharePoint content virtual servers.

    1. On the IIS server, click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
    2. Locate the virtual server you need to find the ID for, right-click it, and then click Properties.
    3. On the Web Site tab, , next to the Active Log Format box, click Properties.
    4. Next to Log file name, you can see a path and file name, such as W3SVCxx\exyymmdd.log. The number replacing the xx after W3SVC is the virtual server ID.

  1. On the IIS server, click Start, and then click Run. In the Open box, type cmd, and then click Open.
  2. Change to the Inetpub\Adminscripts folder, by typing the following line, where Drive is the drive where Windows is installed:
    cd Drive:\inetpub\adminscripts

  1. To see the currently-configured authentication, type the following line, and then press ENTER, where xx is the virtual server ID number:
    cscript adsutil.vbs get w3svc/xx/NTAuthenticationProviders

Note:   The virtual server ID of the Default Web site in IIS is 1.

If the virtual server is configured for NTLM it will return the following value:
NTAuthenticationProviders    : (STRING) "NTLM"

If the virtual server is configured for Kerberos it will return one of the following two statements:
NTAuthenticationProviders    : (STRING) " Negotiate,NTLM"
The parameter "NTAuthenticationProviders" is not set at this node.

  1. To enable NTLM on the virtual server, type the following line, and then press ENTER, where xx is the virtual server ID number:
    cscript adsutil.vbs set w3svc/xx/NTAuthenticationProviders "NTLM"

Note:   The virtual server ID of the Default Web site in IIS is 1.

  1. Restart IIS.
    1. Click Start, and then click Run. In the Open box, type cmd, and then click OK.
    2. At the command prompt, type iisreset, and then press ENTER
    3. Type exit, and then press ENTER to exit Command Prompt.

[edit: added the solution as well, not only diagnostics :-)]


Posted 10-10-2005 8:15 by marcelv
Filed under:

Comments

TrackBack wrote Inaccessible Team Website using Team Foundation Server and WSS SP2
on 11-10-2005 14:46
TrackBack wrote Inaccessible Team Website using Team Foundation Server and WSS SP2
on 11-10-2005 14:50
TrackBack wrote Sharepoint Portal Server 2003 Service Pack 2 released
on 20-10-2005 9:03
Armand du Plessis wrote re: Inaccessible Team Website with Share point SP2
on 04-02-2007 18:05

Thanks, this post probably just saved me hours of frustration :)

Jim wrote re: Inaccessible Team Website with Share point SP2
on 22-02-2007 6:06

You are a great person. T H A N K   Y O U

Adrian wrote re: Inaccessible Team Website with Share point SP2
on 16-03-2007 1:40

Awesome - just spent 3 hours trying to find a solution and stumbled accross your post.  YOU ROCK!

Ricardo wrote re: Inaccessible Team Website with Share point SP2
on 26-11-2007 20:43

Hey man,

I´m facing a similar problem, but in my case, not everyone are out, but just a few users.

I have about 200 users and only 6 can't access the project, but can use all sharepoint.

Have you seen this before? If so, can you send-me some help?

Tks

(nuldos@hotmail.com)

Thiago wrote re: Inaccessible Team Website with Share point SP2
on 12-02-2008 14:11

Hi man, very useful tip. I am facing out the same problem. ;)

Regards,

vipw wrote re: Inaccessible Team Website with Share point SP2
on 15-01-2009 11:10

THANKS!

Stu wrote re: Inaccessible Team Website with Share point SP2
on 13-03-2009 0:14

Thank you so much for this.  I am curious how one would roll back from this change if it did not have the desired affect?  Could I just run;

cscript adsutil.vbs set w3svc/xx/NTAuthenticationProviders "KERBEROS"

??

Thanks for the info.

marcelv wrote re: Inaccessible Team Website with Share point SP2
on 16-03-2009 8:59

to roll back you need to set it back to "Negotiate"

Al Hudson wrote re: Inaccessible Team Website with Share point SP2
on 28-06-2009 6:10

Holy S..... Thanks a lot man!!!!!!!!!

Cristian wrote re: Inaccessible Team Website with Share point SP2
on 21-09-2009 21:46

Thanks man!!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Powered by Community Server (Commercial Edition), by Telligent Systems