h1

SharePoint Filenames Issue

14/05/2009

Today I came across an issue in Microsoft SharePoint Server 2007 (a.k.a. MOSS).  I was trying to upload some Microsoft PowerPoint slides into a slide library in a My Site and everything had gone fine with the first presentation, but the second one I tried came up with an error:

1 of 1 slides being published to ... failed

1 of 1 slides being published to ... failed

As you can see this is not a useful message as there’s simply no indication of why the failure occurred.

After a couple of minutes trawling the web I came across a TechNet article that suggested using explorer and uploading using WebDav might overcome this.  I published the slides to a local folder and set them copying to the library through explorer.  Unfortunately this didn’t work either.

An error occurre copying some or all of the selected files.

An error occurred copying some or all of the selected files.

Another meaningless message and still no further towards resolving the issue.

After another five minutes of further hands on and Internet free investigation I found the cause of the issue.  Apparently SharePoint is a bit particular about file names.  If a file name has two successive dots / periods in it, then it won’t allow you to upload it.  I checked this for document and image libraries too.  All libraries are lists in SharePoint, so I’m reasonably confident that it’s an issue across the board.

So if you have a file named “Dot2..dot.doc” for example would give you the issue but “Dot2.dot.doc” would work just fine.  So if you see an error like those shown above, check your filename and rename it if it has the two successive dots.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: