A summary of the experience of ASPNET in IIS __net

Source: Internet
Author: User

General IIS can not run ASP.net, try the following four methods, 99% valid:

1. The order of the. NET installation should be to install IIS first, reload the vs.net, if the order is reversed, or if IIS is reinstalled, you need to reinstall IIS Mapping using Aspnet_regiis.exe-i (primarily for ASPX, Extention matching of files such as ASMX). In the c:/windows/microsoft.net/framework/v1.0.3705 directory, run the following command: Aspnet_regiis.exe-i

2. Reset the password for ASPNET, and then locate the Machine.config file in the following directory:%systemroot%/microsoft.net/framework/v1.0.3705/ CONFIG (systemroot is your installation directory), add/Modify in the identity: username and password3. If it's not working, reload IIS, and then follow Method 1 for 4. If your machine is a domain controller, you can refer to Q315158:ASP.NET does not Work withaspnet account on domain controller:http://support.microsoft.com/ default.aspx?scid=kb; En-us; q315158& and you talk about the steps of the operation:

1 Create a user named Aspuser in administrative tools->active Directory users and computers to add the user to the user group (by default, in Users group)

2 in Administrative tools->local security settings->local policy->userright Assignment, double-click Log on as a in the right column batch Job entry, click Add in the pop-up window, select or enter the Aspuser account you just created, OK. (Reboot machine required)

3 Ensure the Aspuser account has the corresponding file, directory access rights 4. Locate the Machine.config file in the following directory:%systemroot%/microsoft.net/framework/v1.0.3705/config (Systemroot is your installation directory), add/Modify in the identity:

Username= "Domainname/aspuser" password= "ASPUSERpassword" where ASPUSERpassword is just the established ASPUSER password, domainname is your domain name

Finally, reset the machine! Look, it's supposed to be OK!

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.