In the Blogs administration tab we defined the following files
that are allowed to be uploaded.
txt,ppt,doc,pdf,xls,pptx,docx,xlsx,mmap,png,gif,jpeg,jpg,odt,rtf
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 )
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0//index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/urun_rvhost_mime.html
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