标签:
By Rick Anderson and Luke Latham
Install the HTTP Platform Handler version 1.2 or higher:
If you need to enable IIS, see IIS server configuration.
To persist Data Protection keys you must create registry hives for each application pool to store the keys. You should use the Provisioning PowerShell script for each application pool you will be hosting ASP.NET 5 applications under.
For web farm scenarios developers can configure their applications to use a UNC path to store the data protection key ring. By default this does not encrypt the key ring. You can deploy an x509 certificate to each machine and use that to encrypt the keyring. See the configuration APIs for more details.
The Preview tab shows you the publish path (by default, the same directory as the ”.sln” solution file).
Unlock the configuration section.
- Launch IIS Manager and select the server in the Connections pane on the left (see image below).
- Double-click Configuration Editor.
- In the Section drop-down, select system.webServer/handlers, and then click Unlock Section.
The following operations systems are supported:
The following is not a complete list of errors. Should you encounter an error not listed here, please leave a detailed error message in the DISQUS section below along with the reason for the error and how you fixed it.
HTTP 500.19 : ** This configuration section cannot be used at this path.**
- You haven’t enabled the proper roles. See IIS server configuration.
HTTP 500.19 : The requested page cannot be accessed because the related configuration data for the page is invalid.
- You haven’t installed the correct HTTP Platform Handler. See Install the HTTP Platform Handler
- The wwwroot folder doesn’t have the correct permissions. See IIS server configuration.
The IIS 7.0 CoreWebEngine and W3SVC features must be installed to use the Microsoft HTTP Platform Handler 1.x.
- Enable IIS; see IIS server configuration.
HTTP 502.3 Bad Gateway
- You haven’t installed the correct HTTP Platform Handler. See Install the HTTP Platform Handler
HTTP 500.21 Internal Server Error.
- No module installed. See IIS server configuration.
标签:
原文地址:http://www.cnblogs.com/zjneter/p/5120700.html