Step by step, you can configure IIS (including error analysis) and iis Error Analysis
Solve IIS configuration today with a working problem
Website publishing: Click VS to publish a website.
Step 1: Create a configuration file (my name is webSite)
:
Step 2: select the release method and select where to publish the file (similar to creating a folder website on disk D, you can select File release D: \ website) click Publish. The following are important steps.
Configure IIS
Step 1: select a management tool in the control panel (if you do not see the management tool, select the big icon in the category to see the management tool)
Step 2: Open the management tool: (if there is no Internet Information Service (IIS) manager, refer to the following) to install Step 3: after you open iis manager, change the version number based on the version of your website (if the version is incorrect, an error will occur) Step 4: add the physical path of the website you want to deploy under the website to select the path you want to publish (that is, the folder to which the website is published ). release in this folder, you can select D as the physical path: \ website), or the path of the website. You can select the IP address of the website. Step 5: add the website page: Step 2: browse your project through the deployed IIS (you can modify the physical path again in the advanced settings on the right, or click bind to modify the IP address and port of the website) problems that may occur during configuration and Solution Problems 1: Select solution in the figure and then install problem 2: Solution Problem 3: solution change 2.0 to 4.0: if the modification is successful, remember to restart IIS to avoid modifying IIS configurations and Common Errors If IIS is not updated in time.