title: Microsoft.TeamFoundation.WorkItemTracking.Client.VerbatimMessageException was unhandled
body: <p>I have code that updates the TFS Global List, so when a new customer is added to our customer tracking software, it updates the Client Name list. </p>
  
  <p>The code is able to get the GlobalList and update the xml. However, when I call <code>store.ImportGlobalLists(globalList.InnerXml)</code> I get an exception. The <code>store</code> variable is a <code>WorkItemStore</code> The only relevant information I could find on this exception is <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/dff44124-6168-46c4-8ecb-3caf05fea26c/error-tf223006-you-cannot-modify-the-definition-of-a-work-item-tracking-object-with-your-version-of?forum=tfsadmin" rel="nofollow noreferrer">here</a>, which doesn't give much additional information. The exception gives additional information:</p>
  
  <blockquote>
    <p>You cannot modify the definition of a work item tracking object with
    your version of command-line tools as they are not compatible with the
    Web services for Team Foundation Server. Contact your system
    administrator to determine how to upgrade your installation of Team
    Explorer to a version compatible with Team Foundation Server.</p>
  </blockquote>
  
  <p>I am using:</p>
  
  <ul>
  <li>Visual Studio 2015 Version 14.0.25431.03 Update 3 </li>
  <li>.NET Version 4 (not using NuGets for TFS Communication) </li>
  <li>TFS Version 2015 (14.102.25423.0)</li>
  </ul>
  
  <p>The full exception is below:</p>
  
  <pre><code>Microsoft.TeamFoundation.WorkItemTracking.Client.VerbatimMessageException was unhandled
    ErrorId=0
    HResult=-2146232832
    IsRemoteException=True
    LogException=False
    Message=TF223006: You cannot modify the definition of a work item tracking object with your version of command-line tools as they are not compatible with the Web services for Team Foundation Server. Contact your system administrator to determine how to upgrade your installation of Team Explorer to a version compatible with Team Foundation Server.
    Source=Microsoft.TeamFoundation.WorkItemTracking.Client
    StackTrace:
         at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.Submit(ActionType action, MetadataProvider mdp, Int32 projectId, WITImporter importer)
         at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.ImportGlobalListsInternal(XmlElement listsElement)
         at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.ImportGlobalLists(String lists)
         at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.ImportGlobalLists(String lists)
         ...
         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
         at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.ThreadHelper.ThreadStart()
    InnerException: 
         Actor=/tfs/DefaultCollection/WorkItemTracking/v4.0/ClientService.asmx
         HResult=-2146233087
         Lang=""
         Message=TF223006: You cannot modify the definition of a work item tracking object with your version of command-line tools as they are not compatible with the Web services for Team Foundation Server. Contact your system administrator to determine how to upgrade your installation of Team Explorer to a version compatible with Team Foundation Server.
         Node=/tfs/DefaultCollection/WorkItemTracking/v4.0/ClientService.asmx
         Role=""
         Source=Microsoft.TeamFoundation.WorkItemTracking.Proxy
         StackTrace:
              at Microsoft.TeamFoundation.WorkItemTracking.Proxy.RetryHandler.HandleSoapException(SoapException se)
              at Microsoft.TeamFoundation.WorkItemTracking.Proxy.WorkItemServer.Update(String requestId, XmlElement package, XmlElement&amp; result, MetadataTableHaveEntry[] metadataHave, String&amp; dbStamp, IMetadataRowSets&amp; metadata)
              at CProdStudioBackendChannel.Update(CProdStudioBackendChannel* , Boolean fBatchSave, UInt16* bstrXMLUpdateData, UInt16** pbstrXMLUpdateData, WorkItemServer clientService)
         InnerException: 
  </code></pre>
  
  <p>As a side note, I did try updating my TFS Power Tools to 2015, but that was already installed. I do have VS 2010 and VS 2017 installed, but it sounds like it is okay to have multiple versions of Power Tools side-by-side.</p>