Last post Sep 15, 2014 10:20 PM by Starain chen - MSFT
Sep 13, 2014 02:38 AM|ajay.kalol|LINK
I have an Application, in Which I have implemented URL routing. It is working great in visual studio. The problem is that, When I publish and host it to IIS, it doesn't map map and give 404 error. Is there any changes i need to do in IIS for url routing
please suggest me.
Sep 13, 2014 08:23 AM|HostingASPNet|LINK
What is the IIS version on your local PC and on the hosting server?
Sep 15, 2014 02:14 AM|ajay.kalol|LINK
I am using IIS 8.
What httphandlers or modules I need to add in web.sonfig file ?
Sep 15, 2014 02:40 AM|Starain chen - MSFT|LINK
Please refer to this link below to download and install URL Rewrite Module.
# Using the URL Rewrite Module
Sep 15, 2014 01:44 PM|ajay.kalol|LINK
will you please read my question ?
I have written for url routing not for rewrite url.
Sep 15, 2014 10:20 PM|Starain chen - MSFT|LINK
According to your description, you said that “I have an Application, in Which I have
implemented URL rewriting”, so I assumed you are using IIS URL Rewrite.
For the routing issue in the IIS, please refer to these links below:
# A update is available that enables certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period
# Dots in URL causes 404 with ASP.NET mvc and IIS
# ASP.NET Routing and IIS 404 errors