in

ASP.NET Weblogs

Russell Pooley's .NET Blog

.NET Tools, Source and Research

The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.'.

I have spent probably 4 hours of my life trying to figure out why I keep getting a bizarre error message when I try to browse to a .NET 2.0 Framework Web Service, so after figuring it out I thought I would post this so I never forget it. The solution to the problem was so simple but it took a long time to find it. So what happened:

1. Browse to web service, get the following message: Server Application Error
2. Looked in the event log, which had the following message:

The server failed to load application '/LM/W3SVC'.  The error was 'The specified metadata was not found.'.

3. Searched for that problem and found this: http://www.iis-resources.com/modules/newbb/viewtopic.php?topic_id=2579&forum=4
Now in this post they were talking about the MSDTC so I cheked that service and found that it wasn't started, so I try to start it, this fails to start with error message:

The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).

4. Searched for that problem and found this: http://blog.taragana.com/index.php/archive/solution-microsoft-distributed-transaction-coordinator-fails-to-start-with-service-specific-error-3221229584/
Now this post says run msdtc -resetlog

5. Problem solved. Hopefully other people will find this helps them, it sure helped me.

Comments

 

Shailesh Das said:

Thank God, i found atleat a single complete step by step solution for the problem. I had completely loosed my sanity yesterday night when the above error appeared (apache was not installing either). Now i will try out the above steps in my home this evening.

Thanks for giving me a one more hope.

Thanks a lot.

PS- Do you know how to install apache? I am getting the error message serup interrupted before install error.

February 2, 2007 3:20 AM
 

Carol He said:

Thank u very much. It is very helpful.

When I did not find your link, I got the information from internet just said to re-install everything. But it still can not work, except re-install Windows.

April 13, 2007 1:04 AM
 

andy said:

Didn't work for me.

May 24, 2007 10:18 AM
 

Something XEuropean said:

Just nice to see this error message talked about at all. Windoze it so damn confusing and integrated all at the same time.

June 24, 2007 7:00 PM
 

Derek said:

This is excellent and worked like a charm although at the end, I had to uninstall/reinstall iis for some reason?

Either way, excellent post!

October 29, 2007 1:07 PM
 

George said:

I had the same problem. I run XP SP2. I ultimately traced the problem to COM+ specifically "COM+ System Application" service not being able to start. I guess DTC or any com+ related issue will cause the same with IIS. I solved it by re-registering COM+ dlls with the commands:

"regsvr32 oleaut32.dll" and "regsvr32 ole32.dll

March 2, 2008 7:22 AM
 

Eliram said:

I had a very similar problem. Your solution didn't work but I finally solved the problem using the method described here:

forums.iis.net/.../1129188.aspx

August 28, 2008 5:00 PM
 

Dennis said:

You do not have to re-install, just run the following three commands from the %windir%

\system32\inetsrv directory

rundll32 wamreg.dll, CreateIISPackage

regsvr32 asptxn.dll

iisreset /restart

March 31, 2009 1:52 PM
 

dkfredrickson said:

YOU DO NOT HAVE TO RE-INSTALL

Run the following three commands from the %windir%

\system32\inetsrv directory

rundll32 wamreg.dll, CreateIISPackage

regsvr32 asptxn.dll

iisreset /restart

March 31, 2009 1:59 PM
 

yogo said:

thanks friends! it is alive!!

April 1, 2009 4:38 AM
 

fidget said:

Thanks so much, it worked for me and it sounds like this saved me a lot of time as this was one of the first pages I hit when looking for a solution to my problem !

September 18, 2009 11:55 AM
 

John said:

The last solution worked perfectly. Thank you.

October 6, 2009 7:00 PM
 

Giri said:

Run the following Commands

C:\Winnt\system32\inetsrv>rundll32 wamreg.dll, CreateIISPackage

C:\Winnt\system32\inetsrv>regsvr32 asptxn.dll

C:\Winnt\system32\inetsrv>iisreset

This should Resolve the problem

November 2, 2009 9:20 AM

Leave a Comment

(required)  
(optional)
(required)  
Add