Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question

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.

Sorry!

share|improve this answer

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

share|improve this answer
    
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 Jan 19 '12 at 10:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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