The perfect solution is that IIS servers cannot load applications '/lm/w3svc/1/root '. Error: 'No registered category

Source: Internet
Author: User

Symptom:
When you browse the ASP page, the system prompts 500 internal error.

In Event Viewer:
[1]:
The server cannot load the application '/lm/w3svc/1/root '. The error is "no registered category '.
For more information about this message, visit the Microsoft online support site: http://www.microsoft.com/contentredirect.asp.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

[2]:
Unable to start ms dtc Transaction Manager.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

[3]:
Ms dtc Transaction Manager failed to start. Loginit returns error 0x2.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

[4]:
Ms dtc Log File not found. Transactions that are not in an "uncertain" status when you confirm that all resource managers coordinated by ms dtc do not

Run MSDTC-resetlog to create a log file.

For more information, see Help and Support Center in http://go.microsoft.com/fwlink/events.asp.

My runtime environment:
WINXP pro SP2;

Solution:
[1]:
Check whether your DTC service (full name: Distributed Transaction Coordinator) can be started normally.

Skip this step. If an error occurs and the instance cannot be started properly, run MSDTC-resetlog in the Start Menu.

To create a log file.

If no error occurs when running this command, skip the following line.

If an error occurs when running this command, go to the lower half of this article to start reading. (==== The following parts are the information refound on the Internet (if the above steps still do not work, please continue) =)

Restart the machine and check whether IIS can be used normally. If not, continue.

[2]:
Run the following command in cmd:
Cd % WINDIR % \ system32 \ inetsrv

Rundll32 wamreg. dll, createiispackage

Regsvr32 asptxn. dll

After restarting the machine, my problem can be solved perfectly in this step! When this depressing problem occurs, the system directs it once and IIS reinstalls several

Times, Baidu has some information and finally solved it. I hope it will help you.

========== The following parts are the information that is retrieved from the Internet (if the above steps still fail, please continue) ====================================
1. Click RUN input in the system Start Menu:
Regsvr32 jscript. dll (Note: This command fixes Dynamic Link Libraries related to java scripts)
Run the input again:
Regsvr32 VBScript. dll (Note: This command fixes the dynamic link library related to the VB script)

2. Microsoft's article on how Ms DTC cannot be installed:

How to reinstall Microsoft Distributed Transaction Processing Coordinator on a computer running Windows XP
Http://support.microsoft.com/default.aspx? SCID = kb % 3bzh-cn % 3b891801

======================================
Extract the steps here:
======================================

This article describes how to reinstall Microsoft Distributed Transaction Coordinator (ms dtc) on a computer running Microsoft Windows XP ). More information

Loadtocnode (1, 'moreidinformation ');
Generally, you do not have to reinstall Microsoft on a computer running Windows XP or later.
Distributed Transaction Processing Coordinator (msdtc.exe ). If you use an earlier operating system
You may have to reinstall ms dtc because it overwrites the ms dtc binary file with the version it contains. Reinstall the correct version of msdtc.exe
Binary files can be restored. In Windows XP and later versions, the Windows File Protection (WFP) feature ensures that the binary files of the current system are not replaced.

However, if you must reinstall ms dtc on a computer that is running Windows XP, use the following procedure.

Warning: If you use the following steps, all unfinished transactions will be lost. Make sure there are no active transactions before performing the following steps.

Warning: Improper use of the Registry Editor can cause serious problems. You may need to reinstall the operating system. Microsoft cannot guarantee that you can solve problems caused by improper use of the Registry Editor. You are at your own risk to use the Registry Editor.

1. In administrative tools, open services and stop all services.
2. In the "Start type" column, change the start type of all other services to "Manual" except the services listed in the following table ".

Note:: We recommend that you write down the changed services so that these values can be restored correctly in Step 7.

Alerter
COM + Event System
Computer Browser
Distributed Link Tracking Client
DNS Client
Event Log
IPSec services
Logical Disk Manager
Messenger
Net Logon
Nt lm Security Support Provider
Network Connections
Plug and Play
Remote Procedure Call (RPC)
Remote Procedure Call (RPC) Locator
Removable Storage
Security Accounts Manager
Server
System Event Notification
Task Scheduler
TCP/IP NetBIOS Helper
Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions
Windows Time
Workstation
3. Disable the service and restart the computer.
4. At the command prompt, type the following command:

% Windir % \ system32 \ msdtc.exe-uninstall
5. Start Registry Editor and delete the following registry items if they exist:

Hkey_classes_root \ CID
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ MSDTC
HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ Services \ MSDTC
HKEY_LOCAL_MACHINE \ SYSTEM \ controlset002 \ Services \ MSDTC
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSDTC
6. At the command prompt, type % WINDIR % \ system32 \ msdtc.exe-install.
7. Wait for the disk activity to stop, and then restore the Startup Type of the changed service to its original value.
8. In the registry, create the following registry key:

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSDTC \ xadll
9. At the command prompt, type regsvr32 mtxoci. dll.

You will receive a message indicating that the dllregisterserver in mtxoci. dll has been successful. Click OK to close the message.

10. Restart the computer.
11. At the command prompt, type % WINDIR % \ system32 \ msdtc.exe-resetlog.

========================================================== ========================================================== ========
Here, Ms DTC has been successfully installed and re-run MSDTC-resetlog and solution Step 2

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.