locked
255 URL character limit in 2010 ? RRS feed

  • Question

  • I saw this issue at a customer recently in SharePoint 2007 where one document library had deep folder structure and one day it gets to its 255 character limit for some files. It was stopping them from file upload as SharePoint was displaying 255 character limit error on file upload operation.

    My question is that does that issue still exist in 2010 version Or is it resolved in 2010? If it exist in 2010 as well, How we can prevent to get to this limit other than suggesting best practices to the users which they dont follow all the times.


    Moonis Tahir MVP, MCPD, MCSD.net, MCTS BizTalk 2006/SQL 2005/SharePoint Server 2007 (Dev & Config)
    Tuesday, August 16, 2011 4:39 PM

Answers

  • I believe that its the same b/c the limitation is in the folder / or file path.

    Heres the real technical explanation - http://technet.microsoft.com/en-us/library/ff919564.aspx

     


    -tom daly
    Tuesday, August 16, 2011 5:08 PM
  • SharePoint URL path length limitations

    The limitations In this section apply to the total length of the URL path to a folder or a file in SharePoint Server 2010 but not to the length of any parameters. Also, these limitations apply only to un-encoded URLs, not to encoded URLs. There is no limit to encoded URLs in SharePoint Server 2010. The limitations are the following:
      
    260 Unicode (UTF-16) code units – the characters in a full file path, not including a domain/server name. 
    256 Unicode (UTF-16) code units – the characters in a full folder path, not including the file name and the domain/server name.
    128 Unicode (UTF-16) code units - characters in a path component, that is, a file or folder name.
    260 Unicode (UTF-16) code units – the characters in a full path, including a domain/server name for use with Office clients.
    256 Unicode (UTF-16) code units – the characters in a full path including the domain/server name, for use with Active X controls.
     
    Also, have a look at this blog
     

    My SharePoint Blog
    http://dhireny.blogspot.com

    Tuesday, August 16, 2011 5:20 PM

All replies

  • I believe that its the same b/c the limitation is in the folder / or file path.

    Heres the real technical explanation - http://technet.microsoft.com/en-us/library/ff919564.aspx

     


    -tom daly
    Tuesday, August 16, 2011 5:08 PM
  • SharePoint URL path length limitations

    The limitations In this section apply to the total length of the URL path to a folder or a file in SharePoint Server 2010 but not to the length of any parameters. Also, these limitations apply only to un-encoded URLs, not to encoded URLs. There is no limit to encoded URLs in SharePoint Server 2010. The limitations are the following:
      
    260 Unicode (UTF-16) code units – the characters in a full file path, not including a domain/server name. 
    256 Unicode (UTF-16) code units – the characters in a full folder path, not including the file name and the domain/server name.
    128 Unicode (UTF-16) code units - characters in a path component, that is, a file or folder name.
    260 Unicode (UTF-16) code units – the characters in a full path, including a domain/server name for use with Office clients.
    256 Unicode (UTF-16) code units – the characters in a full path including the domain/server name, for use with Active X controls.
     
    Also, have a look at this blog
     

    My SharePoint Blog
    http://dhireny.blogspot.com

    Tuesday, August 16, 2011 5:20 PM