I have deployed a web application on IIS7 and the application has mail attachment files saved on webserver\'s Attachments
folder and it\'s working fine when the
The problem is that the .pdf
extension isn't caught by the ASP.NET handlers, since that isn't a file type that is mapped to ASPNET_ISAPI (aka the ASP.NET HTTP Runtime). Hence the filtering in your web.config
file doesn't apply to those files.
You have two options: