locked
URL Length Max Out RRS feed

  • Question

  • Can i increase maximum allowed url length that sharepoint can work with?

    I have doclib with complicated structure and heavy folder and doc names, which sometimes stop responding due to its too long access URLs.

    Is this problem solved natively in 2010?

    • Moved by Mike Walsh FIN Monday, February 28, 2011 5:38 PM SP 2010 questions go ONLY to SP 2010 forums (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Monday, February 28, 2011 3:04 PM

Answers

  • SharePoint Folder names are included in the URL. This complicates finding documents within SharePoint folders. Instead of using Folders use Metadata to manage the docuemnts. You can create multiple views using metadata and this won't include in the URL string. However, but in case you're not aware, that limit doesn't apply to the querystring.

    Here is the link to SharePoint 2010 URL Path Length Restrictions guidelines article:

    http://technet.microsoft.com/en-us/library/ff919564.aspx

    For more information. Here's a post on the topic from: http://www.lcbridge.nl/download/limitsurl.htm

    "Recently, we've had some discussions about the question whether the SharePoint 260 character URL limit is still in effect in SharePoint 2007. We thought we might write a little blog post about it providing an overview of some facts about SharePoint size limits...

    A site name is allowed to consist of a max length of 128 characters.

    You can create multiple sub sites but the maximum URL length of a sub site is 237. This length excludes the part apparently reserved for system files and folders. If you try to create a new page the system path /_layouts/newsbweb.aspx is added to the URL, which makes a total of 260 characters.

    After reaching that limit, you can still add lists and have subfolders in them. The max length of a doc library name is 255 characters. The max length of a folder name is 123 characters. The max length of a SharePoint URL including lists and folders is 256, excluding system files (for example, /Forms/AllItems.aspx).

    The max length of a SharePoint URL does not include the querystring portion. The max limit of the querystring portion depends on browser limitations. For example, MSIE 6 supports a total of 2047 characters (almost 2K), FireFox doesn't really seem to have a limit.

    To make our testing a little bit easier, we wrote a little tool called the 'URL Length Checker'. Everybody is welcome to download it and use it within their own test scenarios. The tool requires the presence of the .NET 2.0 framework. Download the URL Length Checker or download it's source. "

    Thanks,


    Veera Reddy Kolan
    SharePoint Consultant
    Blog:http://veerareddykolan.blogspot.com/
    Monday, February 28, 2011 3:55 PM

All replies

  • SharePoint Folder names are included in the URL. This complicates finding documents within SharePoint folders. Instead of using Folders use Metadata to manage the docuemnts. You can create multiple views using metadata and this won't include in the URL string. However, but in case you're not aware, that limit doesn't apply to the querystring.

    Here is the link to SharePoint 2010 URL Path Length Restrictions guidelines article:

    http://technet.microsoft.com/en-us/library/ff919564.aspx

    For more information. Here's a post on the topic from: http://www.lcbridge.nl/download/limitsurl.htm

    "Recently, we've had some discussions about the question whether the SharePoint 260 character URL limit is still in effect in SharePoint 2007. We thought we might write a little blog post about it providing an overview of some facts about SharePoint size limits...

    A site name is allowed to consist of a max length of 128 characters.

    You can create multiple sub sites but the maximum URL length of a sub site is 237. This length excludes the part apparently reserved for system files and folders. If you try to create a new page the system path /_layouts/newsbweb.aspx is added to the URL, which makes a total of 260 characters.

    After reaching that limit, you can still add lists and have subfolders in them. The max length of a doc library name is 255 characters. The max length of a folder name is 123 characters. The max length of a SharePoint URL including lists and folders is 256, excluding system files (for example, /Forms/AllItems.aspx).

    The max length of a SharePoint URL does not include the querystring portion. The max limit of the querystring portion depends on browser limitations. For example, MSIE 6 supports a total of 2047 characters (almost 2K), FireFox doesn't really seem to have a limit.

    To make our testing a little bit easier, we wrote a little tool called the 'URL Length Checker'. Everybody is welcome to download it and use it within their own test scenarios. The tool requires the presence of the .NET 2.0 framework. Download the URL Length Checker or download it's source. "

    Thanks,


    Veera Reddy Kolan
    SharePoint Consultant
    Blog:http://veerareddykolan.blogspot.com/
    Monday, February 28, 2011 3:55 PM
  • Veera,

    Your post mentions a 123 character foldername limitation. I wanted to clarify that 123 character limit a little.  

    In the browser, SharePoint 2010's dialogs for creating/renaming a folder have the folder name text box's maxlength attribute set to 123. However, if you are creating/renaming the folder via the object model or via a Network Place, the foldername can be set to a max of 128 characters. This matches Microsoft's documentation. As far as I've been able to tell, there is no documentation for the 123 character limitation.

    I hope this helps someone down the road.

    Thursday, January 12, 2012 2:25 PM
  • good day Veera,

    The link to the URL Length checker takes me to the Bridge card game.

    Do you perhaps have another URL for me.

    I desperately need to be able to check the lenght of all our Sharepoint 2010 portal URL's.

    If you can assist me please.

    regards

    Charmaine Malan

    charming@webafrica.org.za

    Wednesday, May 29, 2013 9:16 AM