Grattalo...<location>
sembra funzionare bene. Tuttavia, hai bisogno di entrambi i <web>
e <webServer>
Voci per garantire che funzioni sia per IIS che per il server di sviluppo di Visual Studio. Per esempio:
<location path="Files">`
<system.webServer>
<handlers>
<add name="MyHandler" path="*" verb="*" type="MyHttpHandler" />
</handlers>
</system.webServer>
<system.web>
<httpHandlers>
<add path="*" verb="*" type="MyHttpHandler" />
</httpHandlers>
</system.web>
</location>