You are currently offline, waiting for your internet to reconnect

You receive a "The specified file or folder name is too long" error message when you create a new folder or a new document in a document library in SharePoint Portal Server or in Windows SharePoint Services

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

SYMPTOMS
You find that there are limits to the lengths of folder names and file names in URLs when you do any one of the following things in Microsoft Office SharePoint Server 2007, in Microsoft Office SharePoint Portal Server 2003, or in Microsoft Windows SharePoint Services:
  • Create a new folder in a document library
  • Create a new document in a document library, or save an existing document in a document library by using a new name for the document
  • Upload a document to a document library
For example, when you try to create a new folder in a document library and the folder has a very long name, you receive the following error message:
The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less (and no more than 128 characters for any single file or folder name in the URL). Please type a shorter file or folder name.
CAUSE
This behavior occurs if the number of characters in the URL exceeds the maximum number of characters that is supported for URLs in SharePoint Server 2007, in SharePoint Portal Server 2003, and in Windows SharePoint Services.

To determine the length of a URL, SharePoint Server 2007, SharePoint Portal Server 2003, and Windows SharePoint Services convert the string in the URL to Universal Character Set (UCS) Transformation Format 16 (UTF-16) format, and then count the number of 16-bit characters in the string. A URL that contains more than 260 characters is not supported. Additionally, a URL that contains one or more of the following components is not supported:
  • A folder name that has more than 256 UCS-2 characters
  • A file name that has more than 128 characters
RESOLUTION
Make sure that the names of folders and of files do not exceed the maximum lengths that are supported for URLs in SharePoint Server 2007, in SharePoint Portal Server 2003, and in Windows SharePoint Services.
MORE INFORMATION
For more information about character limitations for user-specified parameters in SharePoint Portal Server 2003, see the "Character limitations" topic in the "Reference" section of the Microsoft Office SharePoint Portal Server 2003 Administrator's Guide. The Microsoft Office SharePoint Portal Server 2003 Administrator's Guide (Administrator's Help.chm) is located in the Docs folder in the root folder of the SharePoint Portal Server 2003 CD.

For more information about long file and folder names and about characters in file names, in folders names, and in URLs in Windows SharePoint Services, see the "Upgrade considerations" topic in the "Planning" section of the Microsoft Windows SharePoint Services 2.0 Administrator's Guide. To obtain the Microsoft Windows SharePoint Services 2.0 Administrator's Guide, visit the following Microsoft Web site:
sps wss unicode path hyperlink link
Properties

Article ID: 894630 - Last Review: 08/20/2007 19:26:45 - Revision: 2.5

Microsoft Office SharePoint Server 2007, Microsoft Office SharePoint Portal Server 2003, Windows SharePoint Services 3.0, Microsoft Windows SharePoint Services 2.0, Microsoft Office SharePoint Online, Microsoft SharePoint Foundation 2010, Microsoft SharePoint Server 2010

  • kbsavefile kbopenfile kbtshoot KB894630
Feedback
ml>FirePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" at: language in languagesListForLargeScreens track by $index -->
대한민국 - 한국어
España - Español
Paraguay - Español
Venezuela - Español
0&did=1&t=">amp;did=1&t="> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" ')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> >>