Thursday, June 19, 2008

IIS: HTTP 500 Internal Server Error

HTTP 500 Internal Server Error

If you are facing this IIS error with either of the following events, this post might help you in resolving the issue.

1. The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.
2. The server failed to load application '/LM/W3SVC/1/Root'. The error was 'Class not registered

a) Make sure Ditributed Transaction Coordinator service is running. If you are facing problem in making it work, this link might help. In brief, start the service using service MMC; run msdtc -resetlog if it fails. Check your application again. If you are fortunate enough, your problem might have resolved. If not, follow next step.

b) Follow the following steps. These steps have been taken from this site.

This error is caused by the component services on the computer. To resolve the error

Click Start menu (Windows) - Settings - Control Panel.

Double-click Administrative Tools.

Double-click Component Services.

Expand the Computers folder, open the My Computer folder, and select COM+ Applications.

If an error occurs when you try to open the My Computer folder, refer to the following Microsoft article: http://support.microsoft.com/?id=301919

Delete the following IIS-related packages contained in the COM+ Applications folder:

IIS In-Process Applications

IIS Out-of-Process Pooled Applications

IIS Utilities

Open Windows command prompt, navigate to %windir%\system32\inetsrv directory and enter the following commands:

c:\> rundll32 wamreg.dll, CreateIISPackage

Note: This command is case-sensitive.

C:\> regsvr32 asptxn.dll

c:\> IISRESET

10 comments:

Michael said...

Thank you! I have been struggling with this issue for the last couple of hours, going from site to site and this worked.

Chuck said...

Thank you! You don't have any idea how much grief you saved me.

Soman said...

Thank you very much.It works. Am struggling with that for more than 3 hours.

ninjacoder said...

This is amazing and worked. I tried almost everything under the sun with re-reregistering IIS, msdtc, etc. I almost gave up thinking i needed to reinstall from scratch. Thanks for the post!

Madhuresh said...

Thanks a Ton!!! After getting a severe head ache i saw this blog, and it worked like an Aspirin. Thanks again!

Alistair said...

Worked for me too. Cheers.

Michele said...

Thank you thank you thank you!!!!!!!

Florence said...

Worked for me as well I was unable to delete the IIS Utilities component. But the remaining steps work without doing that.

brienholcombe said...
This comment has been removed by the author.
BuildThisRoom said...

Good clear correct information all in one spot.

Thanks for that!

Brien
BuildThisRoom.com