authentication failed while connecting to tfs using tfs api

后端 未结 3 1091
遇见更好的自我
遇见更好的自我 2021-01-23 22:28

I am facing a strange issue.I want to connect tfs server using tfs api programmitcally. Even after giving proper authentcaion crediatials it is failing.But if I do it manually b

3条回答
  •  不知归路
    2021-01-23 22:56

    For your problem, normally you get an error like:

    Possible reasons for failure include: - The name, port number, or protocol for the Team Foundation Server is incorrect. - The Team Foundation Server is offline. - The password has expired or is incorrect.

    The root cause of your problem is that the URI should be ended up with the collection name. So the fix would be, to change "http://10.112.205.145:8080/tfs" to "http://10.112.205.145:8080/tfs/%YourCollectionName%", then it will work! :-)

提交回复
热议问题