. NET Learning Notes (2)-IIS Server Environment Setup

Source: Internet
Author: User
Tags metabase

CatalogueOne: Open the Windows system comes with the IIS server method two: Note three: frequently asked questions     One: Turn on the IIS server method that comes with the Windows systemStep One: Install IIS, control Panel, programs and features, turn Windows features on or off->internet information Services tick the following: Step Two: Control Panel, Administrative tools->internet Information Services (IIS) Manager Third step: port and default document settings, check site, click on the right side of the binding button to set the site port, click the default document, set the site's default document, For example, add index.aspx; Fourth step: Add a virtual directory or add an application directly to create a new site app (you need to convert to an application after adding a virtual directory); Two: Remarks1: The virtual directory will run as a program, have its own independent application pool, save its own independent data, rather than inherit the data configuration of the main site; 2: About application pools, an application pool is a configuration that links one or more applications to one or more worker process collections. Because applications in application pools are separated from other applications by worker process boundaries, applications in one application pool are not affected by the problems that are caused by applications in other application pools. 3: When creating a new site or project, be careful to select the appropriate. NET Framework version for your project to avoid versioning conflicts;
three: frequently asked questions1:vs when importing an existing Web site: IIS 6 compatible components are not installed? Use the Server Manager tool to install IIS 6.0 in Windows Server R2 or Windows Server Management and
Capacitive components
Click Start, Administrative Tools, and Server Manager.
In the Navigation Pane, expand Roles, right-click Web Server (IIS), and then click Add Role Services.
In the Select Role Services pane, scroll down to IIS 6 management compatibility.
Click to select the IIS 6 Metabase compatibility and IIS 6 management Console check boxes.
In the Select Role Services pane, click Next, and then click Install in the Confirm Installation Selections pane.
Click Close to exit the Add Role Services Wizard.
Install the IIS 6.0 Management Compatibility component from the Control Panel in Windows 7 or Windows Vista
Click Start, Control Panel, programs and features, and turn Windows features on or off.
Open Internet information Services.
Open the Web administration tool.
Open IIS 6.0 management compatibility.
Select the check boxes for the IIS 6 Metabase compatibility with IIS 6 configuration and the IIS 6 Management console.
Click OK. 2:http Error 500.19-internal Server error cannot access the requested page because the related configuration data for this page is invalid? Error code: 0x80070021 configuration file: This configuration section cannot be used in this path. This behavior occurs if the section is locked at the parent level. The lock is set by default (overridemodedefault= "Deny"), or is explicitly set by a location tag that contains overridemode= "deny" or the old allowoverride= "false". Workaround: Windows operating system-"control Panel-" programs and Features-"open or close Windows Features-" Internet Information Services-"World Wide Web Services-" Application development features, check the ASP.

. NET Learning Notes (2)-IIS Server Environment Setup

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.