It sounds like ASP.NET isn't being called for requests to your bundle URL.
According to
this MSDN blog post[
^], extensionless URLs should work in IIS6, given the following conditions:
- The registry value
HKLM\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\EnableExtensionlessUrls
is not defined, or is set to "1"; - v4.0
aspnet_filter.dll
is registered as an ISAPI filter; - v4.0
aspnet_isapi.dll
is script mapped to ".axd" at the web site level; - v4.0
aspnet_isapi.dll
is marked as "Allowed" in the ISAPI Restriction list; - The web site has read and script permission enabled;
More details
on Phil Haacked's blog[
^].
If it doesn't work, you'll probably need to
add a wildcard application mapping[
^] for ASP.NET to your site. This will route every request through the ASP.NET pipeline, which can lead to performance problems. It can also lead to unexpected behaviour, since static files will now be subject to the ASP.NET access rules.
Another option would be to add an extension to your bundle URL which is already mapped to ASP.NET -
.axd
would be a good choice.