954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

web.config ignored!

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?

DarthMambo
Newbie Poster
2 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

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

DarthMambo
Newbie Poster
2 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: