locked
TF14054: The Encoding -2 is not valid. The client should never send this value. RRS feed

  • Question

  • Hi Team ,

    I m getting below error while using TFS API:

    Quitting because error: Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: TF14054: The Encoding -2 is not valid. The client should never send this value. ---> System.Web.Services.Protocols.SoapException: TF14054: The Encoding -2 is not valid. The client should never send this value.    --- End of inner exception stack trace ---    
    at Microsoft.TeamFoundation.VersionControl.Client.Workspace.PendAdd(String[] paths, Boolean isRecursive, String fileType, LockLevel lockLevel, Boolean treatMissingItemsAsFiles, Boolean silent, Boolean applyLocalItemExclusions).

    I m using tfs 2017  with visual studio 2013

    tried to check over the internet for any solution but no luck.

    any help would be appreciated.

    Regards,

    Siddhartha


    Wednesday, November 1, 2017 1:23 PM

All replies

  • Hi Siddhartha,

    Could you please share your code snippet here?

    Could you please check which type of workspace do you use? A server workspace or a local workspace? If a server workspace, please try to change it to local workspace.

    Best Regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Sunday, November 5, 2017 6:44 AM