Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Deploy MVC2 Application in IIS 5.1 (Windows XP)

, 10 Nov 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
How to deploy MVC2 application at IIS 5.1 (Windows XP)

Introduction

If you try to deploy the MVC2 application at IIS 5.1, then normally it will not work properly. It could show you the following errors:

Deploy MVC2 Application at IIS 5.1 (windows XP) Deploy MVC2 Application at IIS 5.1 (windows XP)

So what could be the ultimate solution to this? Just follow the below instructions and check whether it works or not.

At first, create a virtual directory and publish the project successfully. Then go to Internet Information Services and right click on virtual directory. Select Properties from the menu. A window will appear. Click on Configuration button.

Deploy MVC2 Application at IIS 5.1 (windows XP)

After clicking on Configuration button, an Application Configuration window will appear. Now select first Application Mapping and click on Edit button. An Add/Edit Application Extension Mapping window will appear. Copy the executable location from text box. Paste it into Notepad. Click on cancel button.

Deploy MVC2 Application at IIS 5.1 (windows XP)

Now click on Add button and once again Add/Edit Application Extension Mapping window will appear. Paste the executable location from Notepad to executable text box and write .* as extension. Also uncheck the Check that file exists. Now click on OK button.

Deploy MVC2 Application at IIS 5.1 (windows XP)

At last, just change the ASP.NET version to 4.0 from virtual directory properties.

Now try to run the site once again. It should work.

The post Deploy MVC2 Application at IIS 5.1 (Windows XP) appeared first on crea8ivecode.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sadeque Sharif
Software Developer Meridian Group
Bangladesh Bangladesh
I am:
Deputy Manager (IT) at Meridian Group.
 
I was:
Assistant Manager (Software Division) at KDS Garment Industries Limited.
Assistant Manager (Software Division) at E-Vision Software Limited.
 
My blog:
crea8ivecode
 
My preferred work area:
ASP.NET & SQL SERVER.
 
My email:
sadeque.sharif@yahoo.com
 
Follow me:
twitter | facebook | linkedin
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141220.1 | Last Updated 10 Nov 2013
Article Copyright 2013 by Sadeque Sharif
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid