Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Error when renaming a file whose current url path exceeds 256 characters (257 or larger)

$
0
0

I am having an issue renaming a file in SharePoint 2010 whose current url path exceeds 256 characters.  There is no custom coding involved here, just a simple rename through the SharePoint UI.   I know about the many url limitations within SharePoint (i.e. 260 full file path, 128 file/folder name, etc.).  However, this issue does not appear to be one of those limitations.

Here is a sample url:   "/PaulsTestSite/ASubSiteWithinPaulsTestSite/SubsiteToTestRename/Document Library To Test Rename of File/This is a Sub Folder/Another SubFolder To Test Rename/One Last Sub Folder to Test Rename/aaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbcccccccccccc.txt"

Notice, I did not list the server name portion as it is my understanding that it does not apply to the url limit.  Also the url is not encoded.  As I understand, the SP limitations have to do with non-encoded urls.  The path above is 257 characters long, which is under the 260 limit.  SharePoint will allow me to upload this file.  I can rename the file to be longer (i.e. 259 characters), it works without issue.  However, if I try to rename it to anything shorter, I receive the below error. 

Is this a bug in SharePoint, or perhaps am I reaching a url limit that I am not aware of?




Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>