Asp. NET project deployment to IIS

Source: Internet
Author: User
1. Create a folder because we need to publish the site to this folder, I created the Attendanceweb folder on the desktop. 2. Publish the file to this folder Select your item click on the right button to publish
Since my vs version for VS2017 may differ greatly from our interface, please look carefully. The next step is to choose how to publish and publish. Here I probably choose to publish as a folder, and select a folder, I chose the Attendanceweb folder I just created on the desktop.
Click on the release and the VS release task is complete. 3. Operate IIS to open IIS Add Web site name take an application pool to select the version of your project. The physical path selects the folder for VS Publishing. The other is not modified, are the default, as shown.

Click OK to build the site. Then we run the Web site and we may encounter various problems. For example:
When this problem is encountered, there may be insufficient permissions. We need to open this folder for the publishing project right-click to select Properties. Then choose Security, as shown in figure. If you find that there are no IUSR and Iis_iusrs in the group or user name This is the problem,
Click Edit out a pop-up window is the permission for the folder, and then click Add, Popup window for select User or group. Then enter the object name to select, if you do not know or remember can choose Advanced, pop-up window name also for the Select User or group, right there is an immediate lookup. There's something in the search results. Select inside the IUSR and Iis_iusrs click OK. Then click OK again. To Iuser and Iis_iusrs modify the permissions, click Apply after click OK. In this case, the folder has more IUSR and Iis_iusrs properties, as shown in
Then we can run it again.

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.