OpenProgram-Run-cmd: Enter the command to register IIS again.
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I
The following is the description of the aspnet_regiis.exe parameter:
-I-install this version of ASP. NET and update
Script ing and all
Script ing. Existing low version script ing
Upgrade to this version.
-Ir-install this version of ASP. NET and register it only. No
Update the script ing in IIS.
-Enable-with-I or-IR specifies-enable
Enable ASP. NET in the IIS security console (IIS 6.0 or later.
-S <path>-install this version recursively in the specified path
. Existing low version script ing
Upgrade to this version.
For example, aspnet_regiis.exe-s w3svc/1/root/sampleapp1
-Sn <path>-install this version
Script ing. Existing low version script ing
Upgrade to this version.
-R-this version is the root location of the IIS metadata Library
And all scripts below the root are mapped to the installation script ing. No matter what the current version is,
All existing script mappings are
Change to this version.
-U-Uninstall this version of ASP. NET. To this version
Existing script ing is remapped to
Other top ASP. NET versions.
-UA-Uninstall all ASP. NET versions on the computer
-K <path>-recursively removes all ASP. NET versions from the specified path
Script ing.
For example, aspnet_regiis.exe-K w3svc/1/root/sampleapp1
-Kn <path>-Remove all ASP. NET versions from the specified path in non-recursive mode
Script ing.
-LV-list all installed on the computer
ASP. NET version (including status and installation path ).
Status: valid [(Root)] | invalid
-Lk-list all paths of all IIS metadatabase items that contain ASP. NET script ing
(Together with the version ). Do not show from parent
Inherits the ing of ASP. NET scripts.
-C-install this version of the client script
In the aspnet_client subdirectory of each IIS Site Directory.
-E-from the aspnet_client subdirectory of each IIS Site Directory
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 the help text.