teamcity addin (vs2019) - Failed to collect pending changes in TFS.

There are several solutions in TFS. After Teamcity addin installed and is logged in, 
in Local changes window I'm recieving error:

"Failed to collect pending changes in TFS.
Error: Couldn't locate current Team Foundation Server workspace."

Logs:

"

19:17:38.930 |I| AddVsVersionToLogs | :1 | JetBrains ReSharper 2021.1.4 Build 211.0.20210706.71525
19:17:38.935 |I| AddVsVersionToLogs | :1 | Running under Visual Studio Community 2019 version 16.10.31424.327, Hive: 16.0_207cc8ba
19:17:41.432 |I| DpaProtocolServerConnector | :1 | Starting frontend
19:17:41.455 |I| DpaProtocolServerConnector | :1 | Server created at 58897 port
19:17:41.456 |I| DpaProtocolServerConnector | :1 | Running backend from C:\Users\1\AppData\Local\JetBrains\Installations\ReSharperPlatformVs16_207cc8ba_001\JetBrains.DPA.Ide.VS.Backend.exe at 127.0.0.1:58897 IsInternal:False
19:17:44.356 |W| VsReSharperMainMenuFixesSinceVs16| :1 | ReSharper menu is not found in the main VS menu.
19:17:46.393 |I| PersistenceHomeImpl | :1 | PersistenceHomeImpl:PersistenceHomeImpl configFile: C:\Users\1\AppData\Local\JetBrains\ReSharperPlatformVs16\v211_207cc8ba\DelayedCommit.User.Settings.xml
19:17:47.709 |I| RdActions | :1 | Started 'Build.SolutionConfigurations' action at 1 time.
19:17:47.713 |I| RdActions | :1 | 'Build.SolutionConfigurations' Action execution failed. Action '$Build.SolutionConfigurations' isn’t available
19:17:47.718 |I| RdActions | :1 | Started 'Build.SolutionPlatforms' action at 1 time.
19:17:47.718 |I| RdActions | :1 | 'Build.SolutionPlatforms' Action execution failed. Action '$Build.SolutionPlatforms' isn’t available
19:17:49.050 |I| VsSolutionManager15 | :1 | VSSolutionManager::VsSolutionWrapperLifetimes: Solution instance created 3503902
19:17:49.495 |I| UE4AssetAdditionalFilesModuleFactory| :1 | UE4AssetAdditionalFilesModuleFactory is disabled
19:17:51.753 |W| VsWorkspaceListener | :1 | Could not get IVsSolutionWorkspaceService. System.InvalidOperationException. Could not query the service provider for the service ID {66685CD1-6BE5-4285-A1A4-1CEBC413F04F}.
19:17:52.965 |W| VsLanguagePreferencesService | :1 | Failed to get language settings for CPP {b2f072b0-abc1-11d0-9d62-00c04fd9dfd9}. The parameter is incorrect. The error code is COR_E_ARGUMENT, or E_INVALIDARG, or WIN32_ERROR_INVALID_PARAMETER, or 0x80070057.
19:17:53.202 |I| TriggerSolutionBuildAfterOpen | :1 | not requested
19:17:53.202 |I| TriggerSolutionBuildAfterOpen | :1 | not requested at all
19:17:53.202 |I| TriggerSolutionBuildAfterOpen | :1 | !buildRequested
19:17:53.450 |I| LoginManagerComponentImpl | :1 | [LoginManagerComponentImpl::BeginLogin] started for user p.krasovskiy with rememberMe flag True
19:17:53.702 |I| UnitTestServer | :1 | UnitTestServer started on port 51011
19:17:53.833 |I| LoginManagerComponentImpl | :39 | [LoginManagerComponentImpl::EndLogin] finishing with status SUCCESS
19:17:53.833 |I| LoginManagerComponentImpl | :39 | [LoginManagerComponentImpl::LoginCallback] Saving login params after succesfull login (RememberMe is TRUE)
19:17:53.978 |I| IncrementalBuildTrigger | :1 | New current runner JetBrains.Platform.VisualStudio.Backend.IDE.SolutionBuilder.VsSolutionBuilderRunner
19:17:53.979 |I| IncrementalBuildTrigger | :1 | Runner isReady = true
19:17:53.979 |I| IncrementalBuildTrigger | :1 | !myShouldBuild
19:17:54.659 |W| BackendProjectModelLocator | :1 | The only project item was filtered by [ProjectFileSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', ParentFolder='ProjectFolderSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name=null, Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.WebRole\KDC.UserWeb.WebRole.csproj', ParentFolder=null)', BuildAction=, Preferences=NON_SHARED)]: ProjectFileImpl(Path : diagnostics.wadcfgx) [Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', Parent='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent']
19:17:55.351 |W| BackendProjectModelLocator | :1 | The only project item was filtered by [ProjectFileSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', ParentFolder='ProjectFolderSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name=null, Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.WebRole\KDC.UserWeb.WebRole.csproj', ParentFolder=null)', BuildAction=, Preferences=NON_SHARED)]: ProjectFileImpl(Path : diagnostics.wadcfgx) [Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', Parent='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent']
19:17:57.129 |W| BackendProjectModelLocator | :1 | The only project item was filtered by [ProjectFileSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', ParentFolder='ProjectFolderSearchDescriptor(Project=[0019A8D7 KDC.UserWeb.Deployment ProjectKind: UNSUPPORTED, ProjectName: KDC.UserWeb.Deployment, ProjectGuid: 4211fe4d-b50e-4544-a79c-4e7c03d74ad5, ProjectPropertiesOwnerFactoryGuid: 00000000-0000-0000-0000-000000000000, ProjectFileLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.Deployment.ccproj, ProjectLocation: C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment, OutputPaths: <null>], Name=null, Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.WebRole\KDC.UserWeb.WebRole.csproj', ParentFolder=null)', BuildAction=, Preferences=NON_SHARED)]: ProjectFileImpl(Path : diagnostics.wadcfgx) [Name='diagnostics.wadcfgx', Location='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent\diagnostics.wadcfgx', Parent='C:\Project\Product\KDC.UserWeb\KDC.UserWeb.Deployment\KDC.UserWeb.WebRoleContent']
19:17:57.316 |I| VsSolutionManager15 | :1 | VSSolutionManager::VsSolutionWrapperLifetimes: Solution load done 3503902. Lifetime.IsTerminated=False
19:18:01.674 |I| InitialExplorationTask | JetPool(S) #1:48 | Initial unit-test exploration started
19:18:02.166 |I| UnitTestExplorationLogger | :27 | Exploration finished for <KDC.UserWeb.DeploymentTests,.NETFramework,Version=v4.8,NUnit 2x> using NUnitTestExplorerFromArtifacts: Success
19:18:02.167 |I| UnitTestExplorationLogger | :11 | Exploration finished for <KDC.UserWeb.DeploymentTests,.NETFramework,Version=v4.8,NUnit 2x>: Success ((+0 -0 ~0))
19:18:02.167 |I| UnitTestExplorationLogger | :11 | Exploration finished for <KDC.UserWeb.DeploymentTests,.NETFramework,Version=v4.8>: Success
19:18:02.167 |I| UnitTestExplorationLogger | :11 | Exploration finished for <KDC.UserWeb.DeploymentTests>: Success
19:18:05.868 |I| InitialExplorationTask | JetPool(S) #2:51 | Initial unit-test exploration completed
19:18:54.013 |I| UnitTestElementCache | JetPool(S) #2:51 | Serialized elements in 99CF3AA7-3185-46DE-855F-A3969BCF402D: 3351 bytes
19:22:15.870 |I| RdActions | :1 | Started 'Build.SolutionConfigurations' action at 1 time.
19:22:15.870 |I| RdActions | :1 | 'Build.SolutionConfigurations' Action execution failed. Action '$Build.SolutionConfigurations' isn’t available
19:22:15.891 |I| RdActions | :1 | Started 'Build.SolutionPlatforms' action at 1 time.
19:22:15.891 |I| RdActions | :1 | 'Build.SolutionPlatforms' Action execution failed. Action '$Build.SolutionPlatforms' isn’t available
19:22:24.163 |I| UnitTestSessionRepository2 | :1 | << (Opening) Loading sessions from persistent storage
19:22:24.165 |I| UnitTestSessionRepository2 | :1 | >> (Closing) Loading sessions from persistent storage
19:22:28.340 |I| RdActions | :1 | Started 'TeamCity.ShowLocalChanges' action at 1 time.
19:22:28.373 |I| RdActions | :1 | 'TeamCity.ShowLocalChanges' Action execution was done. True
19:22:28.373 |I| RdActions | :1 | 'TeamCity.ShowLocalChanges' Action execution session is terminated (by frontend possibly).
19:22:29.445 |I| RdActions | :1 | Started 'Build.SolutionConfigurations' action at 1 time.
19:22:29.445 |I| RdActions | :1 | 'Build.SolutionConfigurations' Action execution failed. Action '$Build.SolutionConfigurations' isn’t available
19:22:29.447 |I| RdActions | :1 | Started 'Build.SolutionPlatforms' action at 1 time.
19:22:29.448 |I| RdActions | :1 | 'Build.SolutionPlatforms' Action execution failed. Action '$Build.SolutionPlatforms' isn’t available
19:22:31.980 |W| | :101 | Couldn't locate current Team Foundation Server workspace.

--- EXCEPTION #1/2 [VcsException]
Message = “Couldn't locate current Team Foundation Server workspace.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.TeamCity.RemoteRun.VcsException
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.TeamCity.VSTS.16.0
StackTraceString = “
at JetBrains.TeamCity.VSTS.TfsWorkspaceLocatorEx.GetWorkspaceSafe(TfsWorkspaceLocator workspaceLocator)
at JetBrains.TeamCity.VSTS.TFSDelayedCommitProvider.GetRoots(IProgressIndicator progress)
at JetBrains.TeamCity.RemoteRun.Impl.VcsOperationsProviderImpl.GetPendingChanges(IProgressIndicator pi, IErrorManager errorManager)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Couldn't locate current Team Foundation Server workspace.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.TeamCity.RemoteRun.Impl.VcsOperationsProviderImpl.GetPendingChanges(IProgressIndicator pi, IErrorManager errorManager)
at JetBrains.TeamCity.RemoteRun.LocalChanges.LocalChangesProviderImpl.FullUpdateInternal(IProgressIndicator progress, IErrorManager errorManager)
at JetBrains.TeamCity.RemoteRun.LocalChanges.LocalChangesProviderImpl.Update(Boolean full, IProgressIndicator pi)
at JetBrains.TeamCity.RemoteRun.LocalChanges.LocalChangesProviderImpl.<>c__DisplayClass37_0.<BeginUpdateInternal>b__0(IProgressIndicator progress)
at JetBrains.TeamCity.Utils.ProgressIndicator.TCTaskExecutor.<>c__DisplayClass2_1.<BeginExecuteTask>b__2()
at JetBrains.Util.Logging.Logger.Catch(Action action)
at JetBrains.Threading.ThreadManager.<>c__DisplayClass13_0.<RunSafe>b__0(Object _)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

"

Please sign in to leave a comment.