Windows $ IIS ASP Installation

Source: Internet
Author: User


The SIGNALR 2.0 was used in my Windows 2008r2 to work with Chrome, and it was impossible to open websocket and then discover the necessary conditions for SIGNALR to support WebSocket:

1. Server side:. NET 4.5 Framework + Windows 8 or Windows 2012

2. Browser side: ie10+ or other browsers

To prepare for the line-up, determine the Windows 2012R2 VM training and testing of the irrigation station. Windows 2012R2 Interface Modification is not small, incorporating many Windows 8 style, fortunately roles, feature and other observations are still consistent with Win2008, only a little time to familiarize yourself with the new operating interface.

IIS was added, and ASP. NET 4.5 was selected, and I thought this would be done with the installation.

The IIS Admin tool uses the Add application to hang up the ASP., but IIS administrators look weird, with the IIS area on the right and the ASP.

Get 500.19 bugs by browsing the Web page:

HTTP Error 500.19-internal Server error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code 0x80070021
Config Error This configuration section cannot is used at the this path. This happens was locked at a parent level. Locking is either by default (overridemodedefault= "Deny"), or set explicitly by a location tag with overridemode= "Deny" or The legacy allowoverride= "false".

According to the knowledge of the past (see article 91), often aspnet_regiis is not correctly registered, and try to register a new discovery:

Microsoft (R) ASP. Regiis version 4.0.30319.33440
Administration utility to install and uninstall ASP.
Copyright (C) Microsoft Corporation. All rights reserved.
Start Installing ASP (4.0.30319.33440).
This option isn't supported on this version of the operating system. Administr
Ators should instead install/uninstall ASP. 4.5 with IIS8 using the "Turn Win
Dows Features on/Off "dialog, the Server Manager management tool, or the DISM.E
XE command line tool. For more details, see
Finished installing ASP. NET (4.0.30319.33440).

The ASP. NET 4.5 and IIS8 no longer have to aspnet_regiis this trick, to through the feature management new, but as the first example shows, I have already installed ASP.

I had to figure out a few of the application server items when I added a role:

Application role has a Web Server (IIS) support, remember to install it.

After joining Web server (IIS) support, the Web server will have more application developer items, with ASP, ASP. NET 3.5, CGI ... And so on can be chosen. If you want to activate the SIGNALR WebSocket, remember to tick websocket Protocol.

A few twists and turns, WebSocket + SIGNALR finally complete!

"Extended reading" is attached to the official version of IIS8 ASP. NET installation steps.

Windows $ IIS ASP Installation

Related Article

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: 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.