SharePoint 2010 URL length limitation and workaround.
-
Friday, March 16, 2012 3:15 AM
I Know there's a 260 character limitation aboud SharePoint 2010 URL. However, I found a quote in this article:
these limitations apply only to un-encoded URLs, not to encoded URLs. There is no limit to encoded URLs in SharePoint Server 2010.
Then I tried to use httpUtility.UrlPathEncode (in client object model) to encode my url, and still give me a 414 REQUEST IS TOO LONG exception.
I'm confused now. Anyone can help me ?
All Replies
-
Friday, March 16, 2012 3:23 AM
please check below threads:
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/b76e543a-f777-4277-829c-821c670f1e8c
MCTS,MCPD Sharepoint 2010. My Blog- http://sharepoint-journey.com
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful
- Edited by Devendra Velegandla Wednesday, February 06, 2013 3:22 AM
-
Friday, March 16, 2012 1:27 PM
If the unencoded url is longer than 260 then it will not work - even if you encode it. If the unencoded Url is shortern than 260 and you encode it, then it does not matter if the encoded one is > 260 or not. It will always work. thats what the statement means. So encoding is not a way to overcome the 260 char limit. it just means you don't have to bother about the url becoming longer when encoding.Stefan Goßner
Senior Escalation Engineer - Microsoft CSS
This post is provided "AS IS" with no warrenties and confers no rights.- Proposed As Answer by servy42Microsoft Community Contributor Monday, March 19, 2012 5:18 PM
- Marked As Answer by Malone Ma Wednesday, March 21, 2012 1:00 AM

