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.