IIS Error Server Application Error detailed solution

Source: Internet
Author: User
Tags in domain
Document directory
  • Change the password in MTS or component service

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for maintenance.
Method 1: change the password in the User Manager or in the user and group to match the password of the IIS metadatabase.
1. In the "command" window, find the folder where the Adsutil. vbs file is located. Use Adsutil. vbs to obtain the IWAM and IUSR account passwords from the IIS metabase.
2. To change the IUSR and/or IWAM passwords in Windows NT, follow these steps:

A. InStartMenu, pointingProgram, PointingManagement toolsAnd then clickDomain User Manager. In domain user manager, you can change the account information of all Windows NT user accounts and groups.
B. Double-clickIUSR _Computer NameAnd/orIWAM _Computer NameThen, change the password to reflect the IIS metadatabase password you obtained in step 1.

To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps:

A. InStartMenu, pointingProgram, PointingManagement toolsAnd then clickComputer Management.
B. InSystem ToolsClick to expand "local users and groups" and "users" nodes. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups.
C. Right-clickIUSR _Computer NameAnd/orIWAM _Computer NameAccount, and then clickSet Password.
D. Change the password to reflect the IIS metadatabase password you obtained in step 1.
3. View the ASP page that returns the error message and check whether the problem has been resolved.
Method 2: Change the IIS metadatabase to match the IUSR and/or IWAM passwords.
1. To change the IUSR and/or IWAM passwords in Windows NT, follow these steps:

A. InStartMenu, pointingProgram, PointingManagement toolsAnd then clickDomain User Manager. In domain user manager, you can change the account information of all Windows NT user accounts and groups.
B. Double-clickIUSR _Computer NameAnd/orIWAM _Computer NameAccount, and then type a new password.

To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps:

A. InStartMenu, pointingProgram, PointingManagement toolsAnd then clickComputer Management.
B. InSystem ToolsClick to expand "local users and groups" and "users" nodes. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups.
C. Right-clickIUSR _Computer NameAnd orIWAM _Computer NameAccount, and then clickSet Password. Enter the new password.
2. In the "command" window, find the folder where the Adsutil. vbs file is located. Use the Adsutil. vbs utility to set a password for the IWAM and IUSR accounts in the IIS configuration database.
3. View the ASP page that returns the error message and check whether the problem has been resolved.
Function Syntax
Get IUSR account password Cscript.exe adsutil. vbs get w3svc/anonymoususerpass
Get IWAM account password Cscript.exe adsutil. vbs get w3svc/wamuserpass
Set IUSR account password Cscript.exe adsutil. vbs set w3svc/anonymoususerpass "password"
Set IWAM account password Cscript.exe adsutil. vbs set w3svc/wamuserpass "password"

Note:: When you try to obtain the password in Windows NT 4.0, the password is displayed as a plaintext, but in Windows 2000, the password is displayed as an asterisk. To display the password as a plaintext in Windows 2000, you must modify Adsutil. vbs to display the plaintext. To do this, follow these steps:

1. In notepad, open Adsutil. vbs.
2. On the "edit" menu, clickSearch, Type IsSecureProperty = True, and then clickFind Next.
3. Change "IsSecureProperty = True" to "IsSecureProperty = False ".
4. Save the changes made to Adsutil. vbs and disable notepad ".
Change the password in MTS or component services for Windows 2000/XP/2003

IIS 5.0 provides the Synciwam. vbs file to update the startup identities of all iis com + application packages running outside the process. The Synciwam. vbs script is located in <Drive> \ Inetpub \ AdminScripts folder. You can use CScript or WScript to run Synciwam. vbs.

To use Synciwam. vbs, enter the following command at the command prompt:
Cscript.exe synciwam. vbs-v
To make all changes take effect, you may need to restart IIS. To restart IIS, goStartClickRun, Type iisreset, and then clickOK.

Note:
When COM + is damaged, the following image will appear:

The cscript c: \ inetpub \ adminscripts \ synciwam. vbs-v still appears.
Error: 1AD: ActiveX parts cannot create objects
Or you can add component services by running MMC, but the computer is automatically disabled or an error occurs as soon as the computer is turned on.
The solution is to reinstall COM +.
COM + errors

View Event Logs:
A status indicates that the COM + application is in an unstable state or is not running properly. Declaration failed: SUCCEEDED (hr)

Server Application ID: {02D4B3F1-FD88-11D1-960D-00805FC79235}
Server application instance ID:
{6615E3FE-D159-48B5-BB65-D6B00778E75F}

This is Microsoft's solution to 2000 systems:
1. delete or rename % WinDir % \ System32 \ Clbcatq. dll
2. Restart
3. Go to the Registry to delete the entire HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ COM3 (note the backup)
4. Run CMD and press CD % WinDir % to press Enter.
5. Press rmdir/s Registration and enter
6. If you have installed a MS04-012 patch, reinstall it.
7. Go to the control panel and click Add/delete Windows Components.
8. reinstall COM +

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.