Iis http 500 internal server error the server cannot load the application '/LM/W3SVC' and the specified metadata cannot be found.

Source: Internet
Author: User

Reference from shenloud: http://www.cnblogs.com/Shenease/archive/2007/10/16/643328.html

Running Environment: Windows XP Sp2
Symptom:
[1] "HTTP 500-internal server error" occurs when you browse the host's. net script"

[2] view computer system events and find that a warning is displayed every time you browse the. net script:

Event Type: Warning
Event Source: W3SVC
Event Type: None
Event ID: 36
Date: 2006-9-4
Event: 15:48:51
User: N/
COMPUTER: FITMOS
Description:
The server cannot load the application '/LM/w3svc '. The error is 'the specified metadata cannot be found. '.

View the information on the network and find that it is related to the DTS service.
Enter the command "services. msc ", looking for the DTC service (full name: Distributed Transaction Coordinator), found that the Service list does not have this service, go to c: \ windows \ system32 to find the MSDTC directory, in addition, wamreg.dlland asptxn.dllare available in c: \ windows \ system32 \ inetsrv, and msdtc.exe is also available in system32. it seems that the msdtc Service is not installed.

Run the command to install msdtc-install
Run services. msc and find that the dtc service is already in the list. set it to "automatic" and start it.
Make sure that the msdtc Service has been started properly in the Event Viewer. [This step is critical. If not, restart your computer.]
The following command can be run only after msdtc is started. Otherwise, the command will fail.
Cd % windir % \ system32 \ inetsrv

Rundll32 wamreg. dll, CreateIISPackage

Regsvr32 asptxn. dll

(Note that CreateIISPackage is case sensitive .)

At this time, refresh the ASPX page to be run. That's great. It can be displayed normally !!

 

Http://www.cnblogs.com/waffie/archive/2009/08/21/1551476.html

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.