I have the the following entry in my web.config in the root of my Asp.net project:

<urlMappings enabled="true">
      <add url="~/Views/VoiceClip.wav" mappedUrl="~/Views/VoiceClipHandler.ashx"/>
    </urlMappings>

This works fine when running the site in Visual Studio - I go to VoiceClip.wav and it redirects me to VoiceClipHandler.ashx.

However, when I deploy to IIS 6 the direct is no longer honoured and I get a 404. Any idea why?

Solved. I added the ISAPI wildcard filter DLL and unchecked "Check this file exists".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.