简体   繁体   English

从VS2015到MS Excel打开TFS查询时出现错误(TF80068)

[英]Error (TF80068) opening TFS Query from VS2015 to MS Excel

We are trying to use the Open in Microsoft Excel feature in VS2015 to open TFS query results in Excel when we receive the error: TF80068: Team Foundation encountered an error while communicating with the server. 收到错误时,我们尝试使用VS2015中的“在Microsoft Excel中打开”功能在Excel中打开TFS查询结果:TF80068:Team Foundation在与服务器通信时遇到错误。 Please check your connection and try again. 请检查您的连接,然后重试。 Excel TFS Error Excel TFS错误

I can open Excel (Office 365) and use the Team menu New List to connect to the server (2010) and pull the results of the query without issue. 我可以打开Excel(Office 365),然后使用“团队”菜单的“新建列表”连接到服务器(2010),然后毫无问题地获取查询结果。

It is only when we use the VS2015 option that it fails. 只有当我们使用VS2015选项时,它才会失败。

I've removed and added the AddIn numerous times. 我已经多次删除并添加了AddIn。 I've tried to register the dll as well...no luck. 我也尝试过注册dll ...没有运气。

Thanks in advance! 提前致谢!

TFS MS Office button TFS MS Office按钮

  1. To fix the error open Excel to a blank workbook 要修复错误,请在空白工作簿中打开Excel。
  2. Click File -> Options -> Add-Ins 单击文件->选项->加载项
  3. At the bottom open the Manage drop down and select COM Add-Ins 在底部打开“管理”下拉菜单,然后选择“ COM加载项”
  4. Click Go… 点击开始...
  5. In the Add-Ins Available list scroll to the bottom, you should see something like the attached image 在“可用的加载项”列表中,滚动到底部,您应该看到类似附件的图像

add Ins list 添加插件列表

  1. You may have up to 3 Team Foundation Add-in items, although they look similar they are different a. 您可能最多拥有3个Team Foundation加载项,尽管它们看起来很相似,但有所不同a。 Select each one and check the location for each b. 选择每个,然后检查每个b的位置。 Ensure ONLY the one labeled "C:\\Program Files\\Common Files\\Microsoft Shared\\Team Foundation Server\\14.0\\x86\\TFSOfficeAdd-in.dll" is selected 确保仅选择一个标记为“ C:\\ Program Files \\ Common Files \\ Microsoft Shared \\ Team Foundation Server \\ 14.0 \\ x86 \\ TFSOfficeAdd-in.dll”的文件
  2. Verify TFC Office Shim is unselected 验证未选中TFC Office Shim
  3. Click OK 点击确定
  4. Return to VS2015 and open the project in Team Explorer 返回VS2015并在Team Explorer中打开项目
  5. Open Work Items 开放工作项目
  6. Select Open in Microsoft Office drop down and click Open Query in Microsoft Excel 选择“在Microsoft Office中打开”下拉菜单,然后单击“在Microsoft Excel中打开查询”。
  7. It should now work! 现在应该可以了! You should see data in the worksheet 您应该在工作表中看到数据

I guess you should install latest version of Office Integration: ISO and Web Installer . 我猜您应该安装最新版本的Office Integration: ISOWeb Installer Hope this helps! 希望这可以帮助!

I received this error and fixed it by re-signing in using the following steps. 我收到此错误,并通过使用以下步骤重新登录来解决。 There might be a more straight-forward way to fix, but this is what worked for me: 可能有更直接的解决方法,但这对我有用:

  1. Open a new Excel instance. 打开一个新的Excel实例。
  2. Creat a new workbook. 创建一个新的工作簿。
  3. Click on the "Team" tab. 单击“团队”选项卡。
  4. Select "New List" ("Connect to Team Foundation Server" dialog should appear) 选择“新建列表”(应出现“连接到Team Foundation Server”对话框)
  5. Click "Switch User" in the bottom left. 点击左下方的“切换用户”。
  6. Enter credentials. 输入凭证。
  7. Open original workbook. 打开原始工作簿。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM