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 is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


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 Anti Spam Hardware solution?

Follow TechGenix on Twitter