1
votes

I followed the instruction on https://www.youtube.com/watch?v=QjjcqT5hZzI and was able to install TFS in my Windows Server 2012 successfully. I was able to access the TFS web site(http://SERVERNAME:8080/tfs/) from the browser so I thought it was all good.

When I tried connecting to it via Visual Studio 2015 Team Explorer, I got a 404 Not Found error. So I went back to my Windows Server 2012 and tested my Server URL in Team Foundation Server Administration Console. It gave me the same error. I can see it being hosted in the IIS properly and have been using Administrator account everywhere. The firewall is open for the port and I don't see how I can access the site but not the service on the same url.

Does anybody have any idea what I'm doing wrong?

Here is the error I get while testing Server URL. Note that it is the same I get during attempts to connect via Team Explorer.

enter image description here

3
Can you open the web access ui locally on the machine where you installed TFS?Wouter de Kort♦
Yes I can. localhost:8080/tfs works just fine.Milan
Is your Visual Studio 2015 installed on the same Server 2012? Did it connect to any old TFS version (For example: TFS 2012) before? If yes, close VS and clean the TFS cache files. The cache folder locates at C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Team Foundation\4.0\cache. You may see several folders under Team Foundation folder like 4.0, 5.0, clean the cache file in all of them. And then try to connect to TFS server again.Eddie Chen - MSFT
This was a fresh TFS 2015 installation and we've never had Visual Studio installed on this machine..Milan
@x0007me, is there any useful log file on the Logs page in TFS Administration Console?Vicky - MSFT

3 Answers

1
votes

Found it!

It seems I had ISAPI Filter UrlScan setup at my connection level. It was being inherited into my site and was preventing my Team Explorer calls to fail. I took it off for now and it started working.

0
votes

You need to use TFS IP address or server name to replace localhost, IP address is more recommended.

0
votes

1> Please go to IIS -> Sites -> Team Foundation Server -> tfs, click Browse to check whether whether the site can be opened correctly in browser. enter image description here

2> If the same issue happens, you can consider re-configuring TFS AT.

  1. Navigate to the %ProgramFiles%\Microsoft Team Foundation Server 14.0\Tools directory, and run the tfsconfig setup /uninstall:all command to unconfigure TFS.
  2. Open the TFS Administration Console to reconfigure TFS.