100% solve the internal error of ASP http500 In the XP system [transferred from XX blog]

Source: Internet
Author: User
100% solve the internal error of ASP http500 In the XP system [transferred from XX blog]

Www.cnblogs.com/wangzhq/archive/2008/12/02/1345973.html [from this blog]
Xp iis is bad, "HTTP 500" internal error, classic error. I searched for the problem on the Internet.ArticleThere are many, but most of them are the same. The effective indexing method is as follows.

Today, I installed IIS on the newly installed XP, and the above problem occurs. There is no problem opening html. When opening ASP files, an "HTTP 500" error message is displayed. I will remove ie "show friendly HTTP Error message" and call again

When opening an ASP file:
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 ance

The cause is that the password of the IWAM account (iwam_myserver account on my computer) is incorrect, resulting in an internal HTTP 500 error.

Aside from some basic possibilities, I searched for a solution on the Internet. Finally, we have solved this problem. Let's share it here.

Start the MSDTC service first. What is the MSDTC Service? Display name: Distributed Transaction Coordinator; Description: Coordinates transactions across multiple databases, message queues, file systems, and other resource managers. If you stop this

Service, then these transactions will not occur. If this service is disabled, other services explicitly dependent on this service cannot be started.

None of the above
Step 1:
Net start MSDTC under cmd
The result shows that the "Distributed Transaction Coordinator service cannot be started ".
Solution:
Rename the c: \ windows \ system32 \ dtclog directory (if there is one, skip this step) and recreate the directory.
In the command line: MSDTC-resetlog
Net start MSDTC again, indicating that the service has been started successfully.
Step 2:
Right-click my computer-Manage-local users and groups, and set the password for "IUSR _ machine name" and "IWAM _ machine name.
Step 3:
Next, "Start" → "run" → enter "cmd" and confirm, and execute the following command:
% Systemdrive %
Cd % systemdrive % \ Inetpub \ adminscripts
Cscript.exe adsutil. vbs set w3svc/wamuserpass 123456 your password
Cscript.exe adsutil. vbs set w3svc/anonymoususerpass 123456 your password

Can you see it? If not, run the following command:
Cscript.exe synciwam. vbs-V
Step 4:
Restart IIS and run the following command: iisreset

Step 5:
This step still does not work. Finally, execute the following command in cmd:
% Systemdrive %
Cd % SystemRoot % \ system32 \ inetsrv
Rundll32 wamreg. dll, createiispackage
Regsvr32 asptxn. dll

Close all IE Windows, open them again, and run OK.

------------------

As long as the above content is written in English to cmd, the modification is complete.

Related Article

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.