The metabase key '/lm/w3svc' could not be found


I have a laptop with Windows XP on it. Trying to deploy an ASP.NET web application on IIS 6 I received the following error:

Error 1 Web deployment task failed.(The metabase key '/lm/w3svc' could not be found.) The metabase key '/lm/w3svc' could not be found. The metabase Admin Base Object could not be instantiated. Perhaps the "IIS '6 Metabase Compatibility" feature is not installed. Klasse is niet geregistreerd (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Installation of the IIS 6 Metabase compatibility feature on Windows XP is not available at Control Panel, Administrative Tools,... What about that metabase key '/lm/w3svc' ? Thanks for your help?

asked on Stack Overflow Nov 5, 2011 by user1031571

2 Answers


Windows XP only has IIS 5.1 if you install it through control panel.

This might be the reason.

/lm/w3svc is the base key in the IIS6 metabase which contains all the web sites that are registered in IIS.

answered on Stack Overflow Nov 5, 2011 by sinni800

I was getting the same error on windows 10, followed the instructions from Microsoft docs here and it has now been resolved.

answered on Stack Overflow May 2, 2019 by Salman Muhammad

User contributions licensed under CC BY-SA 3.0