Uploading MS Office files into a blog

In the Blogs administration tab we defined the following files
that are allowed to be uploaded.


After applying this change we could upload any of the files
mentioned in Allowed extensions.

But when clicking on a MS office file (.doc, .xls, .ppt, .docx, .xlsx, pptx )
that you just uploaded it will give you an error.

Unexpected Exception

Blogs has encountered and logged an unexpected exception.

When you want to upload MS office files into a blog you must specify
the Mime type in the WAS admin console. ( same rule applies if you
would like to upload .mp3 files in to your blog, you will have to enter
the Mime type for MP3 files in the WAS admin console )


So navigate to the this part of the WAS admin console

WASadmin console -> Environment -> Virtual Hosts > default_host > MIME Types

And add the following three mimetypes to be able to upload MS office 2007 files

pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
docx application/vnd.openxmlformats-officedocument.wordprocessingml.document

If you want to upload MS office files in the old .doc/.xls/.ppt format you will have
to add these three mime types listed below.

xls application/msexcel
ppt application/mspowerpoint
doc application/msword

This entry was posted in lotus connections and tagged . Bookmark the permalink.

One Response to Uploading MS Office files into a blog

  1. Pingback: LOTUSCONNECTIONS.org » Blog s - Uploading files, specifying MIME type in WAS not longer needed

Leave a Reply

Your email address will not be published. Required fields are marked *

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 908,847 bad guys.