IIS 5.1 /LM/W3SVC cannot find the specified metadata

created at 01-08-2022 views: 7

problem

An error occurred while browsing the web:

Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

View the system log:

IIS HTTP 500 Internal Server Error The server could not load application '/LM/W3SVC' '/LM/W3SVC' 'The specified metadata could not be found

Operating environment: Windows XP Sp3

Phenomenon:

[1] "HTTP 500 - Internal Server Error" when browsing host's .net scripts

[2] Looking at the computer system events, I found that every time I browse the .net script, a warning will appear as follows:

Event Type: Warning

Event Source: W3SVC

Description: The server could not load application '/LM/W3SVC'. The error is 'The specified metadata could not be found. '.

solution

Start the Distributed Transaction Coordinator (DTC) service, prompt: Windows cannot start the Distributed Transaction Coordinator on the local computer. For more information, view the system event log. If this is a non-Microsoft service, contact the service provider and point to the -1073737712 service-specific code.

Solution:

Enter msdtc –resetlog on the command line, and then start Distributed Transaction Coordinator, the problem is solved.

The following commands (executed in the command line) can only be run after msdtc is started, otherwise it 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.

created at:01-08-2022
edited at: 01-08-2022: