Try clear both local TFS cache and Visual Studio Cache, then try it again.
- ?Close all Visual Studio instances.
clear visual studio cache under
%APPDATA%MicrosoftVisualStudio
clear TFS cache under
%LocalAppData%MicrosoftTeam Foundation{version}Cache
- Go to Control Panel -> User Accounts -> Manage your Credential ->
Windows Credential, select the TFS url to remove it.
- Restart your Visual Studio to re-connect to your TFS Server.
If that still not work, just try adding following code to your TFS web.config
file (C:Program FilesMicrosoft Team Foundation Server 14.0Application TierWeb Servicesweb.config
):
<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true"/>
</settings>
</system.net>
</configuration>
UPDATE:
Try below things :
Run below command to reset the user data, then try it again.
cd C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE
,
devenv.exe /resetuserdata
- Try run as another user with command:
runas /netonly /user:<account> devenv.exe
- Reset IIS and application pool
If that still not work, I suggest removing the VS first
(clean uninstall), then reinstall it again..
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…