IIS error: solution to server application error

Source: Internet
Author: User

To debug an ASP program, you have to install this damn IIS. Recently, IIS is always faulty. The installation is successful today. Once you access 127.0.0.1, it will be reported.Server application errorAn error occurred. After several attempts, I finally got it done!
Record my specific solution steps:
1) Right-click my computer ----> manage to open the computer management interface
Open local users and groups ----> Users
Right-click to start the IIS process account IWAM _ ***** (Note: ***** is generally the computer name)
Click set password to set the password you want.
2) synchronize IIS to configure the database password:
There are two types of commands: one is to view the password, and the other is to change the password:
A. You can use the view PASSWORD command to view the IWAM password, and then set the user IWAM password in step 1 to the same as the IIS configuration database password.
B. You can also use the password change command to change the password of the IIS configuration database to the IWAM password you modified in the first step.
You can choose either of them.
View password:
Note: in Win2000, the password is an asterisk. If it is not an asterisk, you must first modify the adsutil. vbs file.
Modification method:
A. Find adsutil. vbs from drive C to Inetpub \ adminscripts (some paths may be different depending on the settings when installing the system)
B. Right-click and open it with notepad
C. Search for issecureproperty = true. Note = each character has a space
D. Change issecureproperty = true to issecureproperty = false.
E. Save, close, and OK.
Not long-winded, listed below
Command for viewing passwords:
Start ---> program ---> attachmentOpen command prompt
Enter cd c: \ Inetpub \ adminscripts
Command for getting IWAM account password: cscript.exe adsutil. vbs get w3svc/wamuserpass
Command for getting IUSR account password: cscript.exe adsutil. vbs get w3svc/anonymoususerpass
Enter the preceding command and press enter to view the IWAM and IUSR passwords respectively.
Password Change command:
Change IWAM account password cscript.exe adsutil. vbs set w3svc/wamuserpass "password"
Modify the IUSR account password cscript.exe adsutil. vbs set w3svc/anonymoususerpass "password"
Set the password you want to change, that is, the same as the user IWAM _ *** you set in step 1. Press enter to complete the modification.
Note that the parallel bars between W3SVC and wamuserpass are "/" rather than "\". Otherwise, an error occurs.
Note: before changing the password, stop all Internet Information Services. Otherwise, an error may occur and the IWAM account may be locked.
How to stop? Open Computer Management, right-click Internet information service, and choose restart IIS service. In the options, click Stop IIS service and click OK.
3) change the password in the component service
Start ---> program ---> attachmentOpen command prompt
Enter cd c: \ Inetpub \ adminscripts first
Enter cscript.exe synciwam. vbs-V
The system will prompt:

Microsoft (r) Windows Script Host version 5.6
Copyright (c) Microsoft Corporation 1996-2000. All rights reserved.
Wamusername: iwam_myserver
Wamuserpass: aboutnt2001
IIS applications defined:
Name, appisolated, package ID
W3SVC, 0, 3d14228c-fbe1-11d0-995d-00c04fd919c1}
Root, 2,
IISHelp, 2,
IISADMIN, 2,
Iissamples, 2,
MSADC, 2,
Root, 2,
IISADMIN, 2,
IISHelp, 2,
Root, 2,
Root, 2,
Out of process applications defined:
Count: 1
3d14228d-fbe1-11d0-995d-00c04fd919c1}
Updating applications:
Name: IIS Out-of-process pooled applications key: 3d14228d-fbe1-11d0-995d-00c04fd919c1}
In this case, all operations are basically OK and IIS is restarted. Done!

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.