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