SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SaveBinaryDirect works fine, unless I try to upload an exe file. Is there a limitation for some file types in SaveBinaryDirect or how can I solve this problem?

Exe file upload is allowed for the given web application. I have removed exe from blocked file types and successfully tested adding an exe file from within SharePoint.

share|improve this question

I have recently just come across the same problem. when it will upload every file except executable files once i had allowed them on the Sharepoint server.

After checking and ensuring both Config files and max file size settings on the server are correct to accept the executable. This can be done by following the link directly below.

I solved the problem by changing a setting in the IIS Server (ver 7.0)

In Sharepoint Foundation the exe file is getting interpreted as a CGI to be run on the server rather than downloaded.

You can fix this by going into IIS and select the web site and click "handler mappings" then "Edit feature permissions" and uncheck the Execute box.


share|improve this answer

Your Answer


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.