The IIS server cannot load the application.

Source: Internet
Author: User

The IIS server cannot load applications.Program'/Lm/w3svc/1/root/web '.
The error is 'Class not registered2008-08-07 09: 22iis server could not load the application'/lm/w3svc/1/root '. Error: 'No registered category

The IIS server cannot load the application '/lm/w3svc/1/root/web '. The error is 'Class not registered.

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.

Running environment:
WINXP pro SP2;

Solution:
[1]: Check whether your DTC service (full name: Distributed Transaction Coordinator) can be started normally. If it is normal, skip this step. If an error occurs, it cannot be started normally, set the DTC service to automatic, run MSDTC-resetlog in the Start menu to create a log file, and then restart the computer.

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/d % 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 solution to the failure to install Ms DTCArticle:

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
Generally, you do not have to reinstall Microsoft Distributed Transaction Processing Coordinator (msdtc.exe) on a computer running Windows XP or later ). If you use an earlier operating system, you may have to reinstall ms dtc after installing software such as Microsoft SQL Server 6.5, because the software overwrites the MS DTC binary file with the version it contains. Reinstall the correct version of msdtc.exe to restore the binary file. 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 and the operating system may need to be re-installed. 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. Open "service" in "Administrative Tools" 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 schednotification
• TCP/IP NetBIOS helper
• 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. If the following registry key exists, delete it: • 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.