1

I installed a new TFS 2017 on a fresh Windows 2012 R2 Datacenter server. Than I created a project with a Git repository in it. Now I want to use this inside of my visual studio but as soon as I choose "Connect" on the specific project, I got the "Object reference not set to an instance of an object" message. After that, my Team Explorer looks like this: enter image description here

How can I fix this problem? I already tried to delete the Visual Studio and TFS folders in my local AppData cache directory - nothing changes. I can't find any log files to check the problem, so I hope someone here can help me with that...

Edit: It works in Visual Studio 2015. But I want to use it in 2017... any advice?

Edit 2: Tested on 2 other systems by myself and two of my frieds tested it too - all the same problem. But if we use the "Clone in Visual Studio" link from the TFS Web view - we got a "Failure when receiving data from the peer" error.

1
  • How did you create your team project? From web or from team explorer? Did the error only occurs for that specific project? Commented Apr 10, 2017 at 7:52

2 Answers 2

2

Works since the last VS2017 update... So it was a problem from the Git integration in the VS2017. Also on any other PC it works now with this update and without any other changes.

Sign up to request clarification or add additional context in comments.

1 Comment

@sebastain this issue does not resolve currently but as you can see in this link visual studio team resolved this problem and is waiting for next version of visual studio 2017 release.
0

To narrow down the issue your could create a team project both from the web & from team explorer.

Moreover, since it works in VS2015, fail with 2017. Also suggest you to update your VS2017 to latest RTM version and try again due to this error: Cannot connect to VSTS and TFS from VS 2017 RC

2 Comments

I'm using the latest version of the VS2017 RTM.
Creating projects from the team explorer works but the clone of the repository still fails with the same issue.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.