IIS deployment. NET System

Source: Internet
Author: User

Background:

The company has suddenly had a lot more. NET system, the leader arranged me to deploy, so tried, also encountered many pits, before deploying the. NET system, you need to start the IIS service

First, open the IIS service:

Go to the Windows features window, then see the Internet Information Service options, and then follow the image settings, Ps: The option to play √ is selected below, the square ring below according to the selection of the image to play √.

Click the inverted triangle on the left, and you'll see the default Web site below the website, and then double-click ASP under IIS.

In the features view, click Browse Directory, then on the right will appear the action prompt, click Open function.

Problems encountered:

1. IIS7/8 HTTP error 500.19 errors 0x80070021

Workaround:

IIS7.0 security settings file in%windir%\system32\inetsrv \config\ ApplicationHost.config, this defines the global security settings for the server, but the Web. config of the application can implement some of its configuration. Overrides are not allowed by default.

So first modify the ApplicationHost.config file, so that the Web program can overwrite the server's global security configuration, open handlers and modules permissions, that is, the change from deny to allow, as follows:

<section name= "Handlers" overridemodedefault= "Allow"/>

<section name= "Modules" allowdefinition= "MachineToApplication" overridemodedefault= "Allow"/>

2. HTTP Error 500.21-internal Server error: The managed handler is used, but ASP. NET is not installed or is not fully installed.

Workaround:

This is ASP. NET Framework installation is not complete caused by
CMD under Input:
"%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe"-iru-enable

Reference Address:

Https://jingyan.baidu.com/article/15622f2410f770fdfcbea5d3.html

Https://jingyan.baidu.com/article/219f4bf723bcb2de442d38ed.html

Https://jingyan.baidu.com/article/948f592402ae71d80ef5f967.html

Https://jingyan.baidu.com/article/219f4bf7df5c86de442d388d.html

IIS deployment. NET System

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.