问题描述
我最近从Visual Studio Enterprise 2015切换到Visual Studio Professional,现在针对Visual Studio Online项目的大多数操作都失败了。我可以建立团队连接并浏览所有文件,但我不能做太多其他事情。例如,对于
示例,如果我尝试查看我得到的文件:
I have recently switched from Visual Studio Enterprise 2015 to Visual Studio Professional and now most operations against a Visual Studio Online project are failing. I can make the team connection and browse all the files, but I can't do much else. For example, if I try to check out a file I get:
---------------------------
Microsoft Visual Studio
---------------------------
Source Control Explorer
TF204017: The operation cannot be completed because the user (Greg Enslow) does not have
工作区MYMACHINE; Greg Enslow的一个或多个必需权限(使用)。
---------------------------
OK
---------- -----------------
one or more required permissions (Use) for workspace MYMACHINE;Greg Enslow.---------------------------OK---------------------------
或者在团队资源管理器中点击"我的工作" ;我得到以下异常:
Or in Team Explorer if I click "My Work" I get the following exception:
Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "Microsoft.VisualStudio.TeamFoundation.VersionControl.MyWork.MyWorkModelVS". ---> Microsoft.TeamFoundation.WorkItemTracking.Client.ImportWorkitemTypeException: TF201072: A user or group could not be found. Verify that the users and groups used in your work item type definition have been added to Team Foundation Server. ---> System.Web.Services.Protocols.SoapException: TF201072: A user or group could not be found. Verify that the users and groups used in your work item type definition have been added to Team Foundation Server.
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.RetryHandler.HandleSoapException(SoapException se)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.GetMetadataEx2(String requestId, Boolean useMaster, MetadataTableHaveEntry[] metadataHave, String& dbStamp, IMetadataRowSets& metadata, Int32& locale, Int32& comparisonStyle, Int32& displayMode)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.RefreshCacheInternal(BackendCallData& data)
--- End of inner exception stack trace ---
<堆栈跟踪持续几页>
<stack trace goes on for several pages>
这是一台Windows 10机器,我是完整的管理员。它不是域名加入。
This is a Windows 10 machine and I'm a full admin. It is not domain joined.
我尝试过的事情:
- 退出然后返回Visual Studio
- 删除控制面板/凭据管理器中的所有缓存凭据
- 重新安装Visual Studio
- 使用tf.exe workspaces / remove:*重置我的工作区,然后重新创建本地工作区。
我不相信这是服务器权限的问题,因为我可以从另一台机器上很好地访问项目,而且我是一个该项目的完整管理员。
I don't believe it's an issue with server permission because I can access the project just fine from another machine, plus I'm a full admin for this project.
我非常感谢其他故障排除建议或解决方案。
I would greatly appreciate additional troubleshooting advice or solution.
谢谢,
Greg Enslow
Greg Enslow
Greg Enslow,Enslow Solutions
Greg Enslow, Enslow Solutions
推荐答案
这篇关于从Visual Studio 2015 Enterprise切换到Visual Studio 2015 Professional后无法访问Visual Studio Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!