The following describes deployment on IIS5.1
How to install IIS in XP SP3 this is no more verbose.
The following is mainly configured IIS5.1 and then run.
First, talk about the experience of failure.
can not be deployed in the IIS5.1 virtual directory , not good to use. Debug found the path of the file is not correct, on the Internet to find some information (are English) that can be solved with Webmatrix_x86.msi, download has not been tested. There is a simple way, of course, this method also has drawbacks.
And then, the experience of success
Start Menu = Control Panel = admin tools =internet Information Service = Local Computer = Site = Default Web site = right-key property = home Directory tab
Note that there is a problem to note:
See the local path, this is the actual path to the site. You can modify the path for your MVC2 project. So you can access it directly.
If you do not modify the local path, you will need to copy the MVC2 project's files to this local path. This can also be accessed directly.
Click the "Configure" button
Click the "Add" button
The executable file is: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
The version of the corresponding executable can be set by itself, such as using the v4.0 version in the corresponding C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
The name extension is:. *
My picture is the modified interface. When you add, suppose the button is dimmed. Click the executable text box or the extension text box.
The MVC2 can be accessed according to the settings shown above.
A lot of online said to modify the routing settings, according to the above methods do not need to modify the program of any file can be deployed successfully.
Say that you need to modify the routing of a friend, test the way to meet in accordance with the method is not OK. Of course I have also tested the modification path but unsuccessful.
There are said to modify the route, may be deployed under the virtual folder, so it is not good to use.
In a higher version of IIS, there seems to be no concept of a virtual directory, he can create multiple sites, and 5.1 not. Therefore, there is no need to modify the home directory in IIS7, of course, in IIS7 itself
Created is the website, this is my understanding do not know right? I hope you will correct me.