Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
189 views
in Technique[技术] by (71.8m points)

TFS Related: Why is it required to login to VPN even when I am logged into to office network

On getting latest for a branch from TFS, I got an error

"TF30063: You are not authorized to access Microsoft-IIS/8.5."

only for a particular file in a folder of one of the projects. Searching for solution online I came across this link which suggested to log out of some wrong account and log back in.

However I have only one account which is my office domain account and I cannot use any other account to login to TFS. On checking with some colleagues they just asked me to login to VPN and try. I basically use VPN to connect to office network when I am working from home. Though I was already in office I was suggested to login to office network and try to get the latest for that file which worked.

My query is when I was not connected to VPN and while getting latest from TFS, why the error

"TF30063: You are not authorized to access Microsoft-IIS/8.5."

not occur on other files in that same folder whereas it occurred for only one file and how come logging to to VPN resolved it?

Any thoughts?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This seems to be a cache issue. First,try to remove your office account info which stored in Credential ManagerControl Panel-All Control Panel Items-Credential Manager-Windows Manager

enter image description here

Also clear TFS and VS cache. Then reconnect to TFS in Visual Studio and do the get latest for that particular file.


Update

  1. Checkout that particular file and check in an old version of that file.
  2. Do the "take latest" action.

This may not generate the error again.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...