Re: Sharepoint Error 5009 "String longer than 255 characters"

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Mike,

Thanks for your reply. Well yes i do understand it is a limit for the
url on the whole. But in case if i increase the file name then it would
be more then 260 charecter, for which i am able to a normal activity
like opening and editing. But if the document falls in between 255 to
260, the error occurs as specified. And this error occurs only while
opening the document by clicking on the link.

Would be able to put some ideas ??

Thanks
Suki

Mike Walsh wrote:
The 255 limit is for the entire length of the path to the item - not just
the file name itself but also for the name of the site + sub-site + document
library (etc.).

I'm surprised though that you could upload it.

Mike Walsh
WSS FAQ www.wssv3faq.com / wss.collutions.com
No private questions please (additions to FAQ welcome)

"suki" <sukeshr@xxxxxxxxx> wrote in message
news:1165408207.403829.75830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi,

This error is happening to only one document in our document repository

on SharePoint. The name of the MS Word document is:


"1102448RFC_Estimate_MLCG HRPY_New borns code for SPA.doc"


The document has no problems being uploaded to the SharePoint document
repository.


When I click on the document I get an error message, '5009', 'String
longer than 255 characters'.


I tried deleting the document and reloading it to SharePoint. Error
still occurs.


I uploaded a different document with a longer file name than the above
file, no error. This appears to eliminate the length of the filename
as an issue.


I then modified the name by editing properties of the document and
added some charecters to the end of the filename. The document can be
opened succesfully. If I remove my initials, the error reappears.


You can still download the file successfully to your desktop by
right-clicking on the filename and selecting 'Save Target as...'


Any ideas why this might be happening?


Thanks for your time and help!


Suki


.



Relevant Pages

  • Re: Sharepoint Error 5009 "String longer than 255 characters"
    ... I'm surprised though that you could upload it. ... The document has no problems being uploaded to the SharePoint document ... I uploaded a different document with a longer file name than the above ... This appears to eliminate the length of the filename ...
    (microsoft.public.sharepoint.windowsservices)
  • Sharepoint Error 5009 "String longer than 255 characters"
    ... This error is happening to only one document in our document repository ... The document has no problems being uploaded to the SharePoint document ... I uploaded a different document with a longer file name than the above ... This appears to eliminate the length of the filename ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Windows Sharepoint Services Admin page non reponsive
    ... the entire Sharepoint Central Administration will not respond to any button ... > might also block ASP running. ... > have a setting that limits the document upload size to 50 MB. ... > The database provider used places a second copy of the document in RAM ...
    (microsoft.public.windows.server.sbs)
  • Re: Uploading data into hosted Sharepoint plan
    ... adding data have access web browser access? ... Last year I began using the Sharepoint team services in a very ... > upload. ... but they tell me 'ftp is no longer provided' with the new plan. ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: unable to upload or attach files
    ... I had the same problem while trying to upload a batch of files +50Mb total. ... I was able to fix my problem by going to Sharepoint Central Administration> ... Configure Virtual Server Settings> select your server here> Virtual Server ...
    (microsoft.public.sharepoint.windowsservices)