In Windows XP, how does one solve the problem that IIS 5.1 often encounters a server error numbered 500?

Source: Internet
Author: User

Legend has it that this is a common problem. I have never met Windows XP many years ago. Today, when I was teaching a course, I used Windows XP as a virtual machine system. When I was deploying a web service, I was so lucky that I encountered this problem. It took a short time in the classroom, this problem was not ruled out at once. After I came back, I studied it a little and sorted it out. I 'd like to give it to anyone who needs it.

When looking for a solution to the problem, I refer to the followingArticleHttp://www.coogg.com/article.asp? Id = 494

I have summarized the two steps.

1. Make sure that the following services are set to automatically started and in the startup status.

  • COM + Event System
  • COM + System Application
  • Distributed Transaction Coordinator (DTC)

Why do we need to activate these services? If you are familiar with IIS, you must know that the iis5 version is actually an application implemented through COM +.ProgramTherefore, it is dependent on the COM + service, and IIS can participate in Distributed Transaction coordination, so you need to enable the DTC service.

 

2. Run the following command to register IIS. I have not figured out why I still need to register it manually. Maybe there is something wrong with the IIS media we are installing today, or when the above services are not enabled, why? (If so, it is a bit confusing ). The problem cannot be verified. In short, the problem can be solved by doing so.

CD c: \ windows \ system32 \ inetsrv

Rundll32 wamreg. dll, createiispackage

Regsvr32 asptxn. dll

 

After the above two steps, you can finally open the website as expected. The following is an example of a test.

 

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.