Perfect solution IIS Server failed to load application '/lm/w3svc/1/root '-Problem with no registration class _ Server

Source: Internet
Author: User
Tags microsoft sql server
Phenomenon:
Browse ASP page Tip 500 Internal Error

Event Viewer:
[1]:
The server could not load application '/lm/w3svc/1/root '. The error is ' no registration category '.
For more information about this message, please visit the Microsoft Online Support site: http://www.microsoft.com/contentredirect.asp.

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

[2]:
The MS DTC transaction manager could not be started.

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

[3]:
The MS DTC transaction manager failed to start. LogInit returns an error 0x2.

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

[4]:
The MS DTC log file could not be found. To confirm that all resource managers coordinated by MS DTC do not have an "indeterminate" state of transactions

After that, run Msdtc-resetlog to create the log file.

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


My operating Environment:
WinXP Pro SP2;

Solution:
[1]:
Check that your DTC service (full name: Distributed Transaction coordinator) can start normally, if normal

Please skip this step, and if an error does not start correctly, run in the Start menu: Msdtc-resetlog

To create a log file.

If there is no error in running this command please skip the line below.

If you have an error running this command, go to this place in the lower part of this article to start looking. (= = The following part is the online re-find information (if the above steps still do not work, please continue) = =)

Reboot the machine and check to see if IIS is working properly.

[2]:
Execute the following command under CMD:
CD%windir%\system32\inetsrv

rundll32 Wamreg.dll, CreateIISPackage

regsvr32 asptxn.dll

To restart the machine, my problem to this step can be a perfect solution! Encountered this depressed problem system guide once, IIS reload a number of

Times, Baidu some information, finally solved, hope to help you.


========= The following section is the online search for information (if the above steps still do not work, please continue) ==============================
1. System Start menu point run Input:
regsvr32 Jscript.dll (Note: This command fixes a Java script-related dynamic-link library)
To run the input again:
regsvr32 Vbscript.dll (Note: This command fixes a VB Script-related dynamic link library)

2. Microsoft's article on the solution that Ms DTC cannot install:

How to reinstall the Microsoft Distributed Transaction Coordinator on a computer running Windows XP
http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B891801


==========================
Excerpt the steps here:
==========================


This article describes how to reinstall the Microsoft Distributed Transaction Coordinator (MS DTC) on a computer that is running Microsoft Windows XP.
More information
Generally speaking, you do not have to reinstall the Microsoft Distributed Transaction Coordinator (Msdtc.exe) on computers running Windows XP or later. If you are using an older operating system, you may have to reinstall MS DTC after you install software such as Microsoft SQL Server 6.5, because the software overwrites the MS DTC binaries with the version it contains. Reinstall the correct version of Msdtc.exe to restore the binaries. In Windows XP and later versions, the Windows File Protection (WFP) feature ensures that the current system binaries are not replaced.

However, if you must reinstall MS DTC on the computer that is running Windows XP, use the following procedure.

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

Warning: Improper use of Registry Editor can cause serious problems that may require you to reinstall your operating system. Microsoft does not guarantee that you can resolve problems caused by improper use of Registry Editor. Using Registry Editor requires your own risk. 1. In Administrative tools, open services, and then stop all services.
2. In the Startup Type column, change the startup type of all other services to manual, in addition to the services in the following table.

Note: It is recommended that you write down the service that you changed so that you can restore the values 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. Close the service, and then 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 keys 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 disk activity to stop, and then restore the startup type of the service that you changed 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 succeeded. Click OK to close the message.
10. Restart the computer.
11. At the command prompt, type%windir%\system32\msdtc.exe-resetlog.

=======================================================================================
Up here. Ms DTC has been installed successfully re-run Msdtc-resetlog and workaround 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.