MetaBase.XML restore

Posted on 2011-04-28
Last Modified: 2012-05-11

My system crashed and know it IIS won't start with the error "The IIS Admin Service service terminated with service-specific error 2148073478 (0x80090006)."

It is a Sharepoint website.

It seems the machinekeys file c23... was recreated and it is now incompatible. I have tried to re-install IIS, it works, but it comes empty, I 've lost all configuration I had.
I have the metabase.xml file from before the crash.. Is there a way to import it into the re-installed IIS?

It is a Virtual Machine, and I have snapshots from IIS not working just after the crash, and another one with re-installed IIS, working, but without the original configuration.

Any help will be greatly appreciated

Thank you

Question by:vetrixicode

    Author Comment

    It is a Windows 2003 server with IIS 6.
    LVL 30

    Accepted Solution


    What you need is the following

    1. The folder "C:\WINDOWS\system32\inetsrv\" from the last successful back before the changes restored local on the server to an alternate location.
    2. C:\WINDOWS\system32\inetsrv\MetaBase.xml from that folder must be present.
    3. Admin access to IIS Manager.

    To restore:
    1. Open IIS Manager
    2. Right Click on Web Sites
    3. Click New  |New Website (from file). This will open the Import Configuration Dialog.
    4. Click Browse and go to the alternate backup folder your restored and select the MetaBase.xml file.
    5. Click Read File.
    6. Select the site to restore and click OK.
    7. Select Create a new Site and click OK.

    The site will now exist twice in IIS Manager, 1 with bad config and the other with restored config. The Restored config site will be Offline at this moment as well. At this point, stop your old site and start this one.

    Let us know if you have issues.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now