Experience summary about ASPNET in some issues of IIS

zhaozj2021-02-16  29

Many developers are troublesome about IIS and ASPNET installations, and now do the following small

Summary, please exchange more!

IIS is broken, repair !!!!!!!

General IIS can't run ASP.NET, try the following four methods, 99% effective:

1. The order of .NET installation should be first IIS, then install VS.NET, if the order is reversed,

Or IIS is re-installed, you need to use ASPNET_REGIIS.EXE -I to reinstall IIS

Mapping (mainly used for EXTENTION matching files such as ASPX, ASMX). in

C: /Windows / Microsoft.Net/framework/v1.0.3705 directory, run

Command: Aspnet_Regiis.exe -i

2. Replay the password of the ASPNET, then find Machine.Config text in the directory below

Parts:% systemroot% / Microsoft.Net / framework / v1.0.3705 / config

(SystemRoot is your installation directory), add / repair in ID

Change: UserName and Password3. If you can't still, reload the IIS, then follow the party

Method 1 is operated 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 roughly explain the steps:

1. In Administrative Tools-> Active Directory Users and

Create a user named aspuser in Computers, add the user to the user group

(Default is already in user group)

2. In Administrative Tools-> Local Security Settings-> Local

Policy-> Userright Assignment, double-strike the log on as a batch

Job item, click Add, select or enter the ASPUSER account that just created or entered in the pop-up window.

Number, determined. (Need to restart the machine)

3. Make sure the ASPUSER account has a corresponding file, the directory access is 4. In the directory below

Find a Machine.config file:% systemroot%

/ Microsoft.Net/framework/v1.0.3705/config (SystemRoot is you

The installation directory), add / modify in the ID:

Username = "domainname / aspuser" Password = "ASPUSERPASSWORD"

ASPUSERPASSWORD is the password of the ASPUSER just established, DomainName is your domain name.

Finally, put the machine reset! Take it! It should be OK!

转载请注明原文地址:https://www.9cbs.com/read-24560.html

New Post(0)