When trying to upload .cs, .java, .aspx, or similar files using the Multiple Documents Upload window, the upload fails even though those extensions are allowed in SharePoint. The root cause is IIS, which blocks certain file types by default – particularly files associated with web development (cs, aspx, config, etc.). You also need to allow these extensions in the IIS configuration.
- Open IIS Manager
- Select the site corresponding to SharePoint (by default, "SharePoint - 80")
- Double click on "Request Filtering"
- Select the desired extension and click "Remove"
Do you have a question or a suggestion about this post? Contact me!