Error (TF80068) opening TFS Query from VS2015 to M

2019-07-15 05:59发布

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. Please check your connection and try again. Excel TFS Error

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.

It is only when we use the VS2015 option that it fails.

I've removed and added the AddIn numerous times. I've tried to register the dll as well...no luck.

Thanks in advance!

TFS MS Office button

3条回答
萌系小妹纸
2楼-- · 2019-07-15 06:46
  1. To fix the error open Excel to a blank workbook
  2. Click File -> Options -> Add-Ins
  3. At the bottom open the Manage drop down and select COM Add-Ins
  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. Select each one and check the location for each b. Ensure ONLY the one labeled "C:\Program Files\Common Files\Microsoft Shared\Team Foundation Server\14.0\x86\TFSOfficeAdd-in.dll" is selected
  2. Verify TFC Office Shim is unselected
  3. Click OK
  4. Return to VS2015 and open the project in Team Explorer
  5. Open Work Items
  6. Select Open in Microsoft Office drop down and click Open Query in Microsoft Excel
  7. It should now work! You should see data in the worksheet
查看更多
甜甜的少女心
3楼-- · 2019-07-15 06:49

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.
  2. Creat a new workbook.
  3. Click on the "Team" tab.
  4. Select "New List" ("Connect to Team Foundation Server" dialog should appear)
  5. Click "Switch User" in the bottom left.
  6. Enter credentials.
  7. Open original workbook.
查看更多
ら.Afraid
4楼-- · 2019-07-15 06:57

I guess you should install latest version of Office Integration: ISO and Web Installer. Hope this helps!

查看更多
登录 后发表回答