views:

874

answers:

5

I have recently installed Team Explorer on one of my machines that has Visual Studio 2008 SP1 installed. But know whenever I click a work item or trying to open a team query I get the following error:

Could not load type 'Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException' from assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

I even repaired the installation of Team Explorer 2008 but it does not solve my problem. Does anybody know how can I get rid of this error?

Thanks.

+1  A: 

This almost always occurs because you have a mismatch between versions of Visual Studio RTM and SP1 binaries. I've found the following works for me.

  1. Uninstall Team Explorer
  2. Repair Visual Studio Install
  3. Install Team Explorer (from the web)
JaredPar
+4  A: 

I read a blog post somewhere recently that stated that you had to install Team Explorer before SP1, or else you would have to re-install SP1 again after installing Team Explorer.

Found the link to the blog post.

chyne
A: 

Reinstalling vs2008 sp1 fixed this issue for me

squig
+1  A: 

1 - download Visual Studio 2008 Team Explorer

2 - open it by any program which can open .iso 3 - go to "Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\" 4 - copy all assemmblies which name begin with "Microsoft.TeamFoundation.WorkItemTracking" to "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\"

I solve this problem by this way. Hope it helps you. Thanks.

Cu Hoang Kim
A: 

and re update them in gac from C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\" by copy paste them to C:\windows\Assembly

Anis Fakheruddin