SharePoint - Fail to upload certain file types with the Multiple Documents Upload window

 
 
  • Gérald Barré

When trying to upload .cs, .java, .aspx, etc. files. with the Multiple Upload Documents window, these files fail even though these extensions are allowed by SharePoint. So, the problem comes from elsewhere. SharePoint is hosted with IIS which blocks certain types of files by default, especially all the files related to the development of a site (cs, aspx, config, …). You must enable these extensions in IIS configuration too.

  1. Open IIS Manager
  2. Select the site corresponding to SharePoint (by default, "SharePoint - 80")
  3. Double click on "Request Filtering"
  4. Select the desired extension and click "Remove"

There you go.

Do you have a question or a suggestion about this post? Contact me!

Follow me:
Enjoy this blog?Buy Me A Coffee💖 Sponsor on GitHub