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

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
add comment

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.

http://support.microsoft.com/kb/925083

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.

Goodluck.

share|improve this answer
add comment

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.