Milan
Milan

Reputation: 136

Encountering 404 Not Found Error while setting up TFS 2015

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

Upvotes: 1

Views: 3639

Answers (3)

Milan
Milan

Reputation: 136

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.

Upvotes: 1

Vicky - MSFT
Vicky - MSFT

Reputation: 5010

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.

Upvotes: 0

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31083

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

Upvotes: 0

Related Questions