Friendly URLs for new ASP.Net Web Forms project works great debugging on my computer but when published to server it doesn't work do I need to change something in IIS to get this to work on the server?
Turns out I had the same problem with Bundles and found I needed to add this to the system.webServer section of the web.config file:
<modules runAllManagedModulesForAllRequests="true">
<remove name="BundleModule" />
<add name="BundleModule" type="System.Web.Optimization.BundleModule" />
</modules>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With