Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35408

TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • tfs-plugin
    • Jenkins 2.0 docker version

      When I try to get a branch, Im getting an TFS Java SDK Exception:

      Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
      

      In the oldest version of plugin, using the command line client with Jenkins 1.x, I have experienced the same problem, but a hint given by the error show me that there is a solution:

      An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
      

      I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problem.

      I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.

          [JENKINS-35408] TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

          Alexandre Silveira created issue -
          Alexandre Silveira made changes -
          Description Original: When I try to get a branch, Im getting an TFS Java SDK Exception:

          {noformat}
          Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
          {noformat}

          In the oldest version of plugin, using the command line executor, I have experienced the same problem, but a hint given by the error show me the path:

          {noformat}
          An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
          {noformat}

          I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problema. I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.
          New: When I try to get a branch, Im getting an TFS Java SDK Exception:

          {noformat}
          Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
          {noformat}

          In the oldest version of plugin, using the command line client, I have experienced the same problem, but a hint given by the error show me that there is a solution:

          {noformat}
          An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
          {noformat}

          I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problem.

          I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.
          Alexandre Silveira made changes -
          Description Original: When I try to get a branch, Im getting an TFS Java SDK Exception:

          {noformat}
          Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
          {noformat}

          In the oldest version of plugin, using the command line client, I have experienced the same problem, but a hint given by the error show me that there is a solution:

          {noformat}
          An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
          {noformat}

          I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problem.

          I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.
          New: When I try to get a branch, Im getting an TFS Java SDK Exception:

          {noformat}
          Caused by: com.microsoft.tfs.core.exceptions.TECoreException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
          {noformat}

          In the oldest version of plugin, using the command line client with Jenkins 1.x, I have experienced the same problem, but a hint given by the error show me that there is a solution:

          {noformat}
          An error occurred: TF400951: The operation failed. You must use Visual Studio 2012 Update 1 or a later version to work with paths that are longer than 259 characters
          {noformat}

          I already have this issue with eclipse TFS plugin. The newest version of that plugin resolved this problem.

          I think that, maybe, the SDK must be updated from 14.0.2 to 14.0.3.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171702 ] New: JNJira + In-Review [ 184417 ]
          Kellie Jos made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            redsolo redsolo
            alexandresneto Alexandre Silveira
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: