Microsoft KB Archive/921317

= You receive an error message when you try to use the Visual Studio 2005 Team Foundation Server tf command-line utility to access source code =

Article ID: 921317

Article Last Modified on 8/9/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation

-





SYMPTOMS
You receive an error message when you try to use the Microsoft Visual Studio 2005 Team Foundation Server tf command-line utility to access source code.

For example, you receive an error message if you use the following command to try to access the Myform.cs user-created class:

tf get /s: myform.cs /version:c1256

The error message text resembles the following:

--- Microsoft Visual Studio --- Error

TF10128: The path contains more than the allowed 260 characters. Type or select a shorter path. --- OK  ---



WORKAROUND
To work around this problem, create directory paths that contain two characters fewer than the limit that is stated in the error message. You can also use the History window and Source Code Explorer to find the information that you are looking for.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
Despite the text in the error message, the path limit is not actually 260 characters when you search source code. The following limits exist:
 * Server paths are limited to 258 characters.
 * Local paths are limited to 259 characters.

For more information about the tf command-line utility, visit the following Microsoft Developer Network (MSDN) Web site:

Tf command-line utility commands

http://msdn2.microsoft.com/en-us/library/z51z7zy0.aspx

Using Source Code Explorer

http://msdn2.microsoft.com/en-us/library/ms181370.aspx

Understanding the History window

http://msdn2.microsoft.com/en-us/library/ms245475.aspx

Additional query words: path 260 tfs tf

Keywords: kbbug kberrmsg kbtshoot kbprb KB921317

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.