Type:. NET; issue: IIS registered; Results:. net4.0 register with IIS, re-enroll IIS, IIS Register

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

One. Locate the C:\WINNT\MICROSOFT.NET\FRAMEWORK\V version number \aspnet_regiis. EXE directly double-click to run, as if through a DOS command not.

Two. Start-Program-Microsoft Visual Studio 2008-visual Studio tools-visual Studio 2008 Command Prompt and 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 script map at the root of the IIS metabase and all script mappings below the root. An existing low-version script map is upgraded to this version. -ir-Installs this version of ASP, registering only. Script mappings in IIS are not updated. -enable-When you specify-enable with-I or-IR, ASP. NET is also enabled in the IIS Security Console (IIS 6.0 or later). -S <path>-installs this version of the script map recursively in the specified path. An existing low-version script map is upgraded to this version. For example Aspnet_regiis.exe-s W3SVC/1/ROOT/SAMPLEAPP1-SN <path>-Installs this version of the script map in the specified path in a non-recursive manner. An existing low-version script map is upgraded to this version. -R-Installs script mappings for this version of the IIS metabase root location and for all script mappings below the root. All existing script mappings are changed to this version, regardless of the current version. -U-Uninstalls this version of ASP. The existing script map to this version is remapped to the remaining maximum ASP. NET version installed on this computer. -ua-Uninstalls all ASP. K <path> on the computer-recursively removes all script mappings to any ASP. NET version from the specified path. For example Aspnet_regiis.exe-k w3svc/1/root/sampleapp1-kn <path>-Removes all script mappings to any ASP. NET version from the specified path, in a non-recursive manner. -LV-Lists all the ASP. NET versions (including status and installation paths) installed on the computer. status:valid[(Root)]| Invalid-lk-Lists all paths (along with versions) of all IIS metabase entries that contain the ASP. Items that inherit the ASP. NET script map from the parent are not displayed. -C-Installs this version of client script into the aspnet_client subdirectory of each IIS site directory. -e-Removes this version of the client script from the aspnet_client subdirectory of each IIS site directory. -ea-Removes all versions of client script from the aspnet_client subdirectory of each IIS site directory. -? -PrintThis help text

Type:. NET; issue: IIS registered; results:. 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.