I am trying to map a custom HTTP handler for *.pptx files and for some reason this is not working.
My HTTP handler does nothing else other than sending an email when a powerpoint file is accessed. I have checked the code with other extensions (*.txt, *.pdf etc) and they work without any issues. I have the same problem for *.docx, *.xlsx extensions.
I have checked HTTPhandler and handlers (System.WebServer) sections and they have correct entries.
HTTP Handler
<add verb="*" path="*.txt,*.pptx" validate="true" type="DownloadsAudit.Auditor,DownloadsAudit, Version=1.0.0.0, Culture=neutral,PublicKeyToken=879e70535c0e166f" />
Handlers
<add name="PPT" path="*.pptx" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" />
This is for a MOSS 2007 application runing on IIS7. Is this a known issue? Am I missing someting?