Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UrlRoutingModule is missing from IIS

I am setting up a new server, and the "UrlRoutingModule-4.0" module is missing form IIS. I installed the MVC3 Update before installing IIS. Realizing my mistake, I uninstalled MVC3, and installed IIS 7 with all of the "Application Development" roles: ASP.NET, .NET Extensibility, ASP, etc...

Now, when I install MVC3 (AspNetMVC3ToolsUpdateSetup), and I check IIS, the "UrlRoutingModule-4.0" module is not present. Obviously my MVC3 application does not work. I just get 404s whenever I try to request a controller.

Did I mess up by installing MVC3 before IIS was landed? How can I fix this box?

like image 689
RepDetec Avatar asked Dec 12 '22 12:12

RepDetec


1 Answers

Try running the following command to see if it fixes the problem:

c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

That should re-install .NET 4 with IIS, in case you installed them in the wrong order.

like image 113
Morten Mertner Avatar answered Jan 19 '23 02:01

Morten Mertner