Metabase Changes Not Applied Immediately

  • Section(s): Network
  • Published on Aug 31, 2005.
  • Last Modified on Aug 31, 2005.
  • Last Modified by Mitch Tulloch.
  • Rated 1 out of 5 based on 1 votes.
IIS 6 on W2K3 lets you edit the metabase directly using a text editor like Notepad.

IIS 6 on W2K3 lets you edit the metabase directly using a text editor like Notepad. To do this you enable direct metabase editing, but you need to know how to write well-formed XML since the IIS 6 metabase is written in XML, not binary code like in IIS 5.

If you make a change to the IIS 6 metabase however, say a configuration change to a website or virtual directory, that change may not show up immediately. The reason is because IIS 6 caches such metabase changes so it can write them as one chunk, usually within 5 minutes of when you made the changes. This is true whether you edit the metabase directly or use ADSI or WMI to do it programmatically using scripts.

So don't be surprised when you make changes to the metabase and they don't seem to "take". Just give it time. If you're impatient however, you can right-click on the IIS node in IIS Manager and select Save Configuration To Disk to have your changes applied immediately.

About Mitch Tulloch

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see www.mtit.com .

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Help Desk solution?