WebForm Routing not working in ASP.NET 4.0 and IIS 7.5

I have to emphasise this possible solution if you come to a problem with ASP.NET 4.0 Web Form Routing.

I guess there might be other reasons but in my case it was just this tiny bit: 

Enable HTTP Redirection Feature under

Windows Features -> Internet Information Services -> Word Wide Web services -> Common HTTP Features

I had to spend many hours to find the solution, thank you clever guys from Microsoft :-) he he

Solution found here: http://forums.asp.net/t/1523639.aspx by Remy Blaettler, thanks Remy.

V.

Tags: IIS 7.5, ASP.NET 4.0,  MapPageRoute, RouteTable, Blank Page, 404, Visual Studio 2010, 2010, madness, suicide

2 Responses to WebForm Routing not working in ASP.NET 4.0 and IIS 7.5

  1. JT says:

    Thanks for your help, following the link I found adding:

    to the web.config resolved this issue.

  2. JT says:

    seems my paste failed on publish, I used:

    system.webServer

    modules runAllManagedModulesForAllRequests=true
    modules
    system.webServer

    However a better solution seems to exist (though I haven’t needed to try it yet)

    http://www.britishdeveloper.co.uk/2010/06/dont-use-modules-runallmanagedmodulesfo.html

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>