I can't seem to get copying of dll/exe files working in explorer view in SharePoint 2010.
I have
Removed all blocked file extensions in Central Administration
Edited requestFiltering section of the applicationHost.config as follows:
<requestFiltering> <fileExtensions allowUnlisted="true" applyToWebDAV="true"> </fileExtensions> <verbs allowUnlisted="true" applyToWebDAV="true" /> <hiddenSegments applyToWebDAV="true"> </hiddenSegments> </requestFiltering>
so all file types should be allowed.
Verified the web.config in C:\inetpub\wwwroot has no explicit blockings
The SharePoint Virtual Directory has Allow unlisted file name extensions, Allow unlisted verbs, and Allow high bit characters checked.
The SharePoint Virtual Directory doesn't have any disabled Handler Mappings and the Handler Mappings feature permissions are set to Read, Script, and Execute.
When I drag and drop a .dll or .exe file in Windows Explorer view, I get the error
Could not find this item. This is no longer located in .... Verify the item's location and try again.
Uploading via the web interface in single upload mode works fine. If I try "Upload multiple files", I get the message "Failed"....so I assume it has something to do with WebDAV (since single upload mode works).
All other file extensions (including ones that would otherwise be prohibited, like mdb, bat, vbs, web.config, etc) work fine.
This is IIS 7.5 on Server 2008 R2.
UPDATE: I got this to work by manually excluding PUT requests from the CGI handler for .exe files in the web.config for the virtual directory:
<remove name="CGI-exe" />
<add name="CGI-exe" path="*.exe" verb="GET,POST" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
this is all good...but how do I do this on a global basis for PUT requests? Can I add a generic handler for PUT requests in a safe manner that will allow other mapped file types to be uploaded?