Window XP + iis5.1 + Asp.net MVC release and run

Source: Internet
Author: User

Recently I was writing the MVC2 SVG GISProgramIn the last few days, I wrote a deployment on iis7, Which I showed to the customer in my notebook. I don't know? They are afraid that they will not give money.

The following describes the deployment on iis5.1.

In XP SP3, how to install IIS is not mentioned here.

The following describes how to configure iis5.1 and then run it.

First, let's talk about the failure experience.

It cannot be deployed in the iis5.1 virtual directory. Debugging found that the file path is incorrect. I found some information on the Internet (all in English). I can use webmatrix_x86.msi to solve the problem. I did not perform the test after the download. There is a simple method, of course, this method also has drawbacks.

Then, successful experiences

Start Menu = Control Panel = Administrative Tools = Internet Information Service = Local Computer = website = default website = right-click attribute = Home Directory tab

Note:

See the local path, which is the actual path of the website. You can modify the path of your MVC2 project. In this way, you can directly access it.

If you do not modify the local path, you need to copy the files of the MVC2 project to this local path. This can also be accessed directly.

Click "Configure ".

Click "add ".

The executable file is c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll.

Extension :.*

My images are modified interfaces. When you add it, if the OK button is gray. Click the executable file text box or extension text box.

Follow the settings shown in the preceding figure to access MVC2.

Many people on the Internet say that they want to modify the route settings. The above method can be successfully deployed without modifying any files of the program.

If you want to modify the route, test whether you can follow the above method. Of course, I have also tested the path modification but it is not successful.

It may be difficult to modify the route because it may be deployed in a virtual folder.

In later versions, IIS does not seem to have the concept of virtual directories. It can create multiple websites, but 5.1 does not. Therefore, you do not need to modify the home directory in iis7, of course, iis7 itself

The website is created. Is this my understanding? I hope you can correct it.

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/Pipi0714/archive/2010/12/02/6049304.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.