Solved

Why can no one upload a file with this file name to SharePoint?

Posted on 2015-02-17
4
123 Views
Last Modified: 2015-02-19
Hello,

A user reported a strange error to IT Support the other day and I would like to discuss how it could happen. Since then the situation has resolved itself but I'm curious :-)

Scenario
We're using a SharePoint 2013 Enterprise server
The user has Contribute access to both the site and the document library
The error only affects one file, or rather this exact file name
The user is able to upload other files to this document library

Problem
We were unable to upload a file with a specific name.
Observations
The file (at least as far as we could tell) didn't already exist
It doesn't matter if the user tries to upload using drag and drop or by clicking upload, it will still fail
It doesn't matter who tries to upload the file, it will always fail
If we change the file name to something else, it will upload correctly
It doesn't matter what the file contains (data, text, nothing, empty), if it has this specific name it will fail to upload
This file name was the only one we had issues with
0
Comment
Question by:Auhn
  • 2
  • 2
4 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 40614384
Not all characters or combinations of characters are supported. Character encoding might also be an issue in some cases.

What was the offending filename?

Here's some guidance;

http://www.collabshow.com/2012/06/04/sharepoint-2010-file-name-length-size-and-invalid-character-restrictions-and-recommendations/
0
 

Author Comment

by:Auhn
ID: 40614419
Thanks for the reply. The file name is compliant. I can't enter the file name publicly due to company policy but it was in the format AB12345.xls. The folder contains a series of .xls documents according to orderID to the company's customers.
0
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 40614457
I've experienced an issue with a user recently whereby a document they uploaded did not overwrite an existing document. The name was identical, and the only way to solve it was to cut and paste the old name to rename the new file. I put it down to some sort of encoding issue on the characters in the file name.

I suspect your issue was similar, but the renaming/experimenting to get the file uploaded ultimately got rid if the troublesome character(s).
0
 

Author Comment

by:Auhn
ID: 40614487
It sounds like it's plausible. I went back to check the file that couldn't be uploaded and noticed when the problem was resolved that it had an upload date and time before the problem began.

I suspect a couple of users tried to upload the same file to the same location at the same time which caused an error. It's a long shot at best but that's where my mind is at right now.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question