1. In the Web project click on the publishing site, 1 shows
Figure 1
2. Select the path to publish-"OK" If the project shows that the publication is successful. 2 is shown
Figure 2
3. Open IIS Information Services Manager in Control Panel, as shown in 3
Figure 3
4. Click "Next", 4
Figure 4
5. Add an alias to the site, the alias can be random, 5
Figure 5
6. Select the path that the Web project just published, 6
Figure 6
7. Click "Next", 7
Figure 7
8. Click "Finish", 8
Figure 8
9. Select the virtual directory that you just added in the default Web site Mybookshop--> "Properties" and pop up the dialog box shown in 9.
Figure 9
10. Select the "document" option to add the default page to the site, 10
Figure 10
11. Select "Directory Security"-select "Edit" button in "Authentication and access control", Pop up the dialog box shown in 11, select "Enable Anonymous access" check box, click OK.
Figure 11
12. Select the "ASP." option, confirm that the ASP. NET version is "2.0", 12, click "OK"
Figure 12
13. Enter the URL in IE, if 13 error appears, open "My Computer"-"C Drive"-"WINDOWS"-"temp", in the "temp" file right-click on "Sharing and security", 14 is shown.
Figure 13
Figure 14
14. In the Temp Properties dialog box, select the security option--"Permissions for Users", "Full Control" to select Allow, then click "OK" in the Pop-up dialog box with "Yes", 15
Figure 15
Publish an ASP Web site to IIS