tfs - Buid definition: Error HRESULT E_FAIL has been returned from a call to a COM component -


when add new work item tfs, build definition throw exception below:

exception message: error hresult e_fail has been returned call com component. (type comexception) exception stack trace:    @ microsoft.teamfoundation.workitemtracking.client.datastore.datastorenative.begindatastoreinit(intptr handle, string defaultcachepath, string instanceid, int32 cacheversion)    @ microsoft.teamfoundation.workitemtracking.client.datastore.datastore.begindatastoreinit(string defaultcachepath, string instanceid, int32 cacheversion)    @ microsoft.teamfoundation.workitemtracking.client.workitemstore.initializeinternal()    @ microsoft.teamfoundation.client.tfsteamprojectcollection.initializeteamfoundationobject(string fullname, object instance)    @ microsoft.teamfoundation.client.tfsconnection.createserviceinstance(assembly assembly, string fullname)    @ microsoft.teamfoundation.client.tfsconnection.getservice(type servicetype)    @ microsoft.teamfoundation.client.tfsconnection.getservicet    @ system.activities.runtime.activityexecutor.executeinresolutioncontextt    @ system.activities.inargument`1.trypopulatevalue(locationenvironment targetenvironment, activityinstance activityinstance, activityexecutor executor)    @ system.activities.activityinstance.internaltrypopulateargumentvalueorscheduleexpression(runtimeargument argument, int32 nextargumentindex, activityexecutor executor, idictionary`2 argumentvalueoverrides, location resultlocation, boolean isdynamicupdate)    @ system.activities.activityinstance.resolvearguments(activityexecutor executor, idictionary`2 argumentvalueoverrides, location resultlocation, int32 startindex)    @ system.activities.runtime.activityexecutor.executeactivityworkitem.executebody(activityexecutor executor, bookmarkmanager bookmarkmanager, location resultlocation) 

i cannot dertermine root cause. please me if can!

this issue arises when:
1. try create new work item – user story, bug, task etc.
2. try edit existing query.
3. try open work item query result set.
4. search work item wi id.

please try 2 ways resolve problem:

  1. restart machine server in order install tfs
  2. try delete project cache path likes:

c:\program files\microsoft visual studio 10.0\common7\ide\projecttemplatescache or
c:\program files(x86)\microsoft visual studio 10.0\common7\ide\projecttemplatescache

then run "devenv.exe /setup" re-build cache.
start—>run—> c:\program files\microsoft visual studio 10.0\common7\ide\devenv.exe /setup

i've faced problem. i've resolved use #1


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -