TFS setup - Red X on Documents and Reports, WSS authentication issues
So I'm setting up a single server TFS install. Actually, I have 2 different test installs that are temporary (one is a Virtual machine under Virtual Server, and the other is under Virtual PC), and then 1 "real" install. So everything seemed to go pretty well with the setup on the test installs and the real install. I've got to the point where I've customized a process template, and even done an import from VSS to a team project. I also used the TFS Admin tool to try to setup permissions for the project(s) for TFS, WSS and ReportServer.
However, I now have a big problem that I'm having a tougher time resolving than it seems like I should. On one of the test installs and on the real install, I have a new team project where I get a red X on the Documents folder and Reports folder when I access it in Team Explorer on a computer other than the server. When running Team Explorer on the server (logged in as the same user as I was remotely), then it all works fine. Source control seems to be fine.
At first, I thought it was a firewall issue. So I turned off the firewall, and still no luck. So then I ran ethereal to see what might be failing. I saw that it was getting a 401 on /sites/(Project)/_vti_bin/Lists.asmx. So then I tried to hit that resource with Internet Explorer, and got "HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.
Internet Information Services (IIS)", without ever being asked for my credentials. So then I tried other URLs.http://(name)/sites/(project),http://(name.domain.com)/sites/(project), etc. all gave me a 401.2. Basically, anything tied to port 80 on the machine gives me this. Both for Windows SharePoint Services things (WSS), and SQL Server Reporting pages. When I hit these pages while on the server, then it all works fine (I get prompted for my credentials for the web pages, and login fine).
One of the test setups seems to work OK (a Virtual PC) whether accessed from the server itself, or a remote computer . I don't get a red X, and I can hit the port 80 WSS and ReportServer pages from another machine. When it "works", I get prompted for my credentials to login.
I tried adding the site to my trusted sites, and have it set to automatically use my username and password, but that still doesn't work.
I double checked the settings in IIS on the problem machines. The TFSWSS AppPool is set to use the TFSSERVICE domain account, and the ReportServer AppPool is set to use Network Service. The Directory security is set to only use Integrated Windows Authentication. Running
cscript adsutil.vbs get w3svc/1/NTAuthenticationProviders
I get
NTAuthenticationProviders : (STRING) "NTLM"
I tried running
setspn -A HTTP/servername domain\account
setspn -A HTTP/servername.fullyqualifieddomainname domain\account
I compared TFSIntegration.tbl_service_interface between all 3 installations, and they all look similar.
One thing that made a small differences is when I went into Directory Security and added "Basic authentication" in addition to Integrated Windows Authentication. When I did that and restarted IIS, I could hit the web pages (and it prompted for my credentials), but the red X on the Documents folder and Reports folder were still there (even after exiting Team Explorer/VS and getting back in).
What else can I try?
Thanks!
-Daniel

