views:

589

answers:

1

According to the msdn.microsoft.com site, .NET 3.5 Routing should work under IIS6 and II7 in classic mode. I've made the mods to the web.config file and tested under IIS7 integrated mode and it's working great.

I'd love to keep IIS7 Integrated, but my webhost is still just IIS6 (with .net 3.5).

So... has anyone gotten this to work?

I'm currently getting 404 errors and the only switch is going from IIS7 integrated to IIS7 classic on the application.

+3  A: 

The joy of the internet... keep searching and rephrasing and you find it yourself. :)

For posterity, the answer is to enable a wildcard mapping that routes all requests through ASP.NET ISAPI.

peiklk
IIS Manager >> Sites >> Your Website >> Handler Mappings >> Actions >> Add Wildcard ScriptMap >> enter: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Ben Aston