iis5.1 release asp.net mvc2.0 program below

Source: Internet
Author: User

Deploying the ASP.net MVC 2.0 program under the XP SP3 system is also painful for a long time to explore.

Environment Description: XP SP3 operating system, VS2010 development environment, iss5.1

No more nonsense, directly into the subject, configuration steps are as follows:

0, install iis5.1 (this I will not introduce, a lot of online)

1, iis= "Default Web site =" Property = "Home directory =" Local path

It should be noted that there is a default local path, there are two ways, one is to not change its default path, copy your published file to the directory, the other is to modify its default path, and then copy the published file to the modified file directory. I used the second method (success), but the first I have not tried, do not guarantee Oh, hehe.

2, under vs2010 right key item = "Publish =" Publish method = "File system, then set the target position to the path above, then determine

3, iis= "Default Web site =" attribute = "Main directory =" configuration = "Add =" Executable file = "Browse =" Select C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_ Isapi.dll, extension fill in: (. *), please do not add the left and right brackets, here is to explain the contents of the parentheses inside.

4, OK, iis= "Default Web site =" asp.net= "ASP." NET version, choose your version of the project, do not choose the wrong or do not choose OH

5, basically our configuration is OK, in the browser input localhost/, to test, to see the results, hehe.

Description

XP below, because we are using iis5.1, do not use the virtual directory can only have a default Web site (port defaults to 80), configured to enter directly in the browser: localhost/test


can also refer to http://blog.csdn.net/Pipi0714/article/details/6049304

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.