Minor issues when using IIS

Source: Internet
Author: User

Preface

There are several minor issues when I recently completed a small project to run on IIS, of course not.ProgramBecause it is the first time to use IIS and publish a website, there must be some confusion and no clue at all. Find a post on installing and configuring the website to IIS on the Internet, however, I still had some discrepancies with my program, so I wrote down my own usage process to enhance my memory.

IIS Installation Process

1.My computer is Windows 7 flagship Edition

2.Open Control Panel

3.Click to enable or disable the WINDOWS function, which may be slow. It will enable many Windows functions on your local computer, so wait patiently.

4.Select as shown in the figure and click "OK". (However, there is a problem during installation. cgi in the application development function is not selected, but there is a CGI problem during IIS preview)

5.Enter"CMD",EnterDOSInterface

6.Enter the following command:CDC: \ windows \ Microsoft. NET \ framework \ v4.0.30319. Press enter.

7.Enter aspnet_regiis.exe-I to complete registration.

Website publishing

Open IIS, right-click the website, add the website, and enter the website name correctly. Note that the data in the application pool will change as you enter the website name. select ASP. net v4.0 classic, select the physical path, and click OK.

Small issues I encountered

Question 1: When right-click the website I added, choose manage website, and click preview, the system reports a 403.14 error.

Solution: In the "function" view, double-click "directory browsing ".
On the directory browsing page, click Enable in the actions pane ".
(Check whether the configuration/system. webserver/directorybrowse @ enabled attribute in the site or application configuration file is set to true .)

Question 2: The default homepage is not displayed during preview.

Solution: In the "functions" view, double-click "Default document ". Add the name of your homepage file and move it to the top to find the homepage.

 

Post

(It seems that this IIS can be accessed by entering an http ip address and port in the LAN)

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.