.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> IIS >> Post New QuestionBookmark and Share Subscribe to Forum

how to host my mvc in iis 5

Posted By: Sethuraman     Posted Date: February 15, 2011    Points:2   Category :IIS

I have developing project using MVC concept.As i am new to this can any one tell me how to host MVC in IIS5 used in XP.

Author: Sunil Yadav       [Moderator]      
Posted Date: February 15, 2011     Points: 5   

Hi Sethuraman,

You can host asp.net mvc application on IIS 5 with a little change in the request routing.

ASP.Net MVC URL rewriting will not work on IIS 5 as the IIS server never routes the request to ASP.Net.
You need to explicitly map all request to asp.net.

To achieve this,
1. Go to inetmgr.exe.

2. Right click on the virtual directory and select properties.

3. Select Virtual Directory Tab and select configuration.

4. On the mapping tab, click Add. The Add/Edit Application Extension Mapping dialog box is displayed.

5. In the Executable box, select the Aspnet_isapi.dll from "%windir%:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll".

For more info follow the link below


Hope it helps.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend