. net4.0 registering to IIS, re-registering IIS, IIS registering

Source: Internet
Author: User
Tags metabase

IIS and. netfw4.0 installation order is from the front to the back, if the careless upside down, does not matter.
Open Program-run-cmd: Enter the command to reregister IIS
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i

1. Locate the C:\WINNT\MICROSOFT.NET\FRAMEWORK\V version number \aspnet_regiis. EXE directly double-click Run
It's like a DOS command.
2. Start-Programs-Microsoft Visual Studio 2008-visual Studio tools-visual Studio 2008 Command Prompt
Then enter Aspnet_regiis.exe-i OK 100% to resolve

The following is a description of the Aspnet_regiis.exe parameter:

-I-Installs this version of ASP., and updates the IIS metabase at the root of the
Script mappings and all of the root
Script Mappings. Existing low-version script mappings
Upgrade to this version.
-ir-Installs this version of ASP, registering only. No
Update the script mappings in IIS.
-enable-When you specify-enable with-I or-ir, you also
Enable ASP. NET in the IIS Security Console (IIS 6.0 or later).
-S-Installs this version recursively in the specified path
The script map. Existing low-version script mappings
Upgrade to this version.
For example Aspnet_regiis.exe-s W3SVC/1/ROOT/SAMPLEAPP1
-SN-Installs this version in the specified path in a non-recursive manner
Script Mappings. Existing low-version script mappings
Upgrade to this version.
-R-For this version of the IIS metabase root location
and all script mappings below the root install script map. No matter what the current version is,
All existing script mappings are
Change to this version.
-U-Uninstalls this version of ASP. To this version of
The existing script mappings are remapped to the computers installed on this computer.
The remaining maximum version of ASP.
-ua-Uninstalling all ASP. NET versions on the computer
-K-Removes recursively from the specified path to any ASP.
Script Mappings.
For example Aspnet_regiis.exe-k W3SVC/1/ROOT/SAMPLEAPP1
-KN-Removes all from the specified path to any ASP.
Script Mappings.
-LV-Lists all installed on the computer
The ASP. NET version (including status and installation path).
status:valid[(Root)]| Invalid
-lk-Lists all paths to all IIS metabase entries that contain ASP.
(along with the version). Do not show from parent
The entries that inherit the ASP. NET script map.
-C-Installs this version of client script into
Each IIS site Directory is in the aspnet_client subdirectory.
-e-from each IIS site directory in the aspnet_client subdirectory
Remove this version of the client script.
-ea-from the aspnet_client subdirectory of each IIS site Directory
Remove all versions of the client script.
-? -Print this Help text

. net4.0 registering to IIS, re-registering IIS, IIS registering

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.