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.

1 Answer 1


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.


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.