Venkat
Venkat

Reputation: 140

TFS 2010 to 2015 upgrade "HTTP code 403: Forbidden"

We have migrated from TFS 2010 to TFS 2015 recently(we are using VS 2015). We have followed the instructions specified in Microsoft Website for TFS 2015 and SQL 2012 installation. We have successfully restored all the databases from 2010 server to 2015 server and attached all the project collections in TFS 2015.

Now when we connect to TFS 2015(we don't have any connectivity Issues to TFS) from VS 2015 and then try to "get latest version" for any of the available projects, we are getting

"HTTP code 403: Forbidden" error message.

Pls help enter image description here

Upvotes: 1

Views: 2251

Answers (3)

Ian Mc
Ian Mc

Reputation: 29

To get around this, I went to Manage Connections within Visual Studio and then I had to use the switch user link to force a reconnect. Once I did this the team projects I had access to showed up.

Upvotes: 0

Venkat
Venkat

Reputation: 140

Issue was with "dynamicIpSecurity" setting in configuration file which has a limitation of maxRequests="40" requestIntervalInMilliseconds="5000" which is the reason for failure when request limit reaches 40

Upvotes: 0

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

Receiving a 403 response is the server telling you, “I’m sorry. I know who you are–I believe who you say you are–but you just don’t have permission to access this resource. Maybe if you ask the system administrator nicely, you’ll get permission. But please don’t bother me again until your predicament changes.”

More details please see :403 Forbidden vs 401 Unauthorized HTTP responses

So this error seems to be a permission issue. First please double check if you have assigned sufficient permissions such as add in the group contributors . Besides check if you have got any deny permission for getting files. In TFS, deny trumps allow.

If all of you including administrator still can't do this, please pay attention to your license.

Upvotes: 1

Related Questions