Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Cannot sign in to TFS: Could not load type 'Microsoft.TeamFoundation.Common.TeamFoundationIdentityReference' #353

Closed
timka3115 opened this issue Dec 13, 2017 · 1 comment

Comments

@timka3115
Copy link

Hello,

I entered valid login and password to our corporate TFS server (like I do for the VS 2015) and getting error.

Here is my logs:

2017-12-13T13:00:51.211Z - info: [09400] *** FOLDER: d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY ***
2017-12-13T13:00:51.214Z - info: [09400] VSTSVSCode/1.122.0 (VSCode 1.18.1; Windows_NT 6.3.9600; Node 7.9.0)
2017-12-13T13:00:51.215Z - debug: [09400] Looking for an External Context at d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY
2017-12-13T13:00:51.215Z - debug: [09400] No External Context at d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY
2017-12-13T13:00:51.219Z - debug: [09400] Looking for TFVC repository at d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY
2017-12-13T13:00:51.220Z - debug: [09400] TFVC Creating Tfvc object with localPath='undefined'
2017-12-13T13:00:51.221Z - debug: [09400] Using TFS proxy:
2017-12-13T13:00:51.221Z - debug: [09400] TFVC Retrieved from settings; localPath='C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe'
2017-12-13T13:00:51.221Z - debug: [09400] TFVC Repository created with repositoryRootFolder='d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY'
2017-12-13T13:00:51.223Z - debug: [09400] TFVC Repository.CheckVersion
2017-12-13T13:00:51.224Z - debug: [09400] TFVC: tf add -noprompt -?
2017-12-13T13:00:51.230Z - debug: [09400] TFVC: spawned new process (duration: 5ms)
2017-12-13T13:00:51.237Z - debug: [09400] TFVC: spawned new process (duration: 6ms)
2017-12-13T13:00:51.625Z - debug: [09400] TFVC: add exit code: 0 (duration: 400ms)
2017-12-13T13:00:51.628Z - debug: [09400] TFVC Minimum required version: 14.102.0
2017-12-13T13:00:51.628Z - debug: [09400] TFVC (TF.exe, TF.cmd) version: 14.102.25619.0
2017-12-13T13:00:51.630Z - debug: [09400] TFVC Repository.FindWorkspace with localPath='d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY'
2017-12-13T13:00:51.631Z - debug: [09400] TFVC: tf workfold -noprompt ********
2017-12-13T13:00:51.634Z - debug: [09400] TFVC: spawned new process (duration: 3ms)
2017-12-13T13:00:52.164Z - debug: [09400] TFVC: workfold exit code: 0 (duration: 533ms)
2017-12-13T13:00:52.166Z - debug: [09400] Found a TFVC repository for url: 'http://tfs.ZZZZZZ.com:8080/tfs/defaultcollection' and team project: ''.
2017-12-13T13:00:52.171Z - debug: [09400] Parsing values from repositoryInfo as string url
2017-12-13T13:00:52.172Z - debug: [09400] TFVC Creating Tfvc object with localPath='undefined'
2017-12-13T13:00:52.173Z - debug: [09400] Using TFS proxy:
2017-12-13T13:00:52.173Z - debug: [09400] TFVC Retrieved from settings; localPath='C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe'
2017-12-13T13:00:52.174Z - debug: [09400] TFVC Repository created with repositoryRootFolder='d:\Projects\XXXX project\DEV\XXXX\Release\XXXX 3.27.0\Source\Web\YYYY'
2017-12-13T13:00:52.244Z - debug: [09400] Started ApplicationInsights telemetry
2017-12-13T13:00:52.245Z - info: [09400] Getting repository information with repositoryInfoClient
2017-12-13T13:00:52.245Z - debug: [09400] RemoteUrl = http://tfs.ZZZZZZ.com:8080/tfs/defaultcollection
2017-12-13T13:00:52.247Z - debug: [09400] Getting repository information for a TFVC repository at http://tfs.ZZZZZZ.com:8080/tfs/defaultcollection
2017-12-13T13:00:52.248Z - debug: [09400] Parsing values from repositoryInfo as string url
2017-12-13T13:00:52.248Z - debug: [09400] Starting the validation of the collection. Url: 'http://tfs.ZZZZZZ.com:8080/tfs/defaultcollection'
2017-12-13T13:00:53.409Z - error: [09400] Failed Request: Internal Server Error(500) - Could not load type 'Microsoft.TeamFoundation.Common.TeamFoundationIdentityReference' from assembly 'Microsoft.TeamFoundation.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Error: Error: Failed Request: Internal Server Error(500) - Could not load type 'Microsoft.TeamFoundation.Common.TeamFoundationIdentityReference' from assembly 'Microsoft.TeamFoundation.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
2017-12-13T13:00:53.409Z - debug: [09400] Error: Failed Request: Internal Server Error(500) - Could not load type 'Microsoft.TeamFoundation.Common.TeamFoundationIdentityReference' from assembly 'Microsoft.TeamFoundation.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

I have installed: Visual Studio 2015 Community Edition, Visual Studio Code. Operation system is Windows 8.1
I could provide any additional information by your request.

@timka3115
Copy link
Author

Sorry, I found an issue. I tried to connect to TFS 2013, but this extension works well with VS 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant