[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 859
  • Last Modified:

MetaBase.XML restore


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

1 Solution
vetrixicodeAuthor Commented:
It is a Windows 2003 server with IIS 6.
Brad HoweCommented:

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now