I'm trying to upload some documents with metadata through the SharePoint RPC calls. Works great, untill I try to upload a file with an MSG extension; it refuses that for some reason. Are there blocked filetypes when using RPC calls and if so: if there a way to prevent them from being blocked?

2 Answers 2


Never mind, it was my own fault. The code which uploaded the documents checked for a return message in the service response. That was checking on IndexOf("msg") and thus caused an error when I uploaded my msg message (no error for other document types obviously). Changing to IndexOf("msg=") easily fixed the problem.



Has an administrator added the MSG extension to the target SharePoint Application's blocked-file list?

  • Uploading via explorer view or PUT request does work, so no: I don't think so. But i'll check to be sure. - edit - nope, no block.
    – Jasper
    Commented Jan 19, 2012 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.