Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.Net Web Forms Friendly URLs not working on server

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?

like image 873
user1166905 Avatar asked Dec 21 '25 17:12

user1166905


1 Answers

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>
like image 78
user1166905 Avatar answered Dec 24 '25 10:12

user1166905



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!