Chris Millard
asked on
Sharepoint 2010 - path too long? Only for some users
We have a Windows 2012 server running SharePoint Foundation 2010 (which will eventually be migrated to SharePoint 2013 Enterprise).
In the meantime we seem to be experiencing some odd issues, which initially looked to be related to path or URL length, but now I am unsure.
For example, there is a site:-
http://companyweb/Finance/restauranthome/Income%20Data%20Sheet/Forms/AllItems.aspx
When the person who "owns" this site attempts to upload a file called "Daily Income and Banking Sheet Master.xls" he gets the following error:-
The URL 'Income Daily Sheets/Daily Income and Banking Sheet Master.xls' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is in the current Web.
This user has Full Control and Read permissions on the site. I log on using the administrator account (with no site specified permissions) and can upload a file with exactly the same name to the same site without any issue.
This has happened (so far) with two specific users on two different sites within SharePoint 2010.
In the meantime we seem to be experiencing some odd issues, which initially looked to be related to path or URL length, but now I am unsure.
For example, there is a site:-
http://companyweb/Finance/restauranthome/Income%20Data%20Sheet/Forms/AllItems.aspx
When the person who "owns" this site attempts to upload a file called "Daily Income and Banking Sheet Master.xls" he gets the following error:-
The URL 'Income Daily Sheets/Daily Income and Banking Sheet Master.xls' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is in the current Web.
This user has Full Control and Read permissions on the site. I log on using the administrator account (with no site specified permissions) and can upload a file with exactly the same name to the same site without any issue.
This has happened (so far) with two specific users on two different sites within SharePoint 2010.
This occurs when the local path from the user's folder to the file is too many characters or contains an unsupported character. If someone else is able to upload the file I would start with the depth of the local path to the file since some users names are shorter than others they would be able to upload whereas a person with a longer name cannot. This is common when uploading from a file share or redirected folders.
ASKER
OK, that doesn't appear to be the issue. If I copy that file to my own desktop, or to the root of my drive, I cannot upload it - I get the same error. If I create a new text file with exactly the same name (including renaming it to a .xls) then it uploads just fine.
If thats the case then you may be hitting some sort of limit in your document library. There's quotas and thresholds set for libraries out of the box. Say you have 5000 items in that list and the current query is hitting that limit you would see thing stop working properly. If you can upload the same file to a different document library that could be the problem.
ASKER
The document library is currently empty, and the document is only 1.4MB in size.
what happens if you create a brand new blank Excel file with the same name? Curious if something else with the file is causing the issue. Macro enabled or encrypted workbook?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That would be one of those limits that'll get you!
ASKER
I eventually discovered, through trawling through the logs, that the WSS_Content DB was full!