The MetaEdit tool allows you to work with the Microsoft® Internet Information Server (IIS) metabase. MetaEdit has two components:
You can use MetaEdit with IIS running on Microsoft® Windows NT® Server, Personal Web Server (PWS) running on Windows NT Workstation, or PWS running on Microsoft® Windows® 95.
These instructions assume that you have loaded the MetaEdit directory as part of the Site Server 3.0 Commerce Edition Resource Kit.
For x86, on the Start menu, point to Programs, and then click MetaEdit.
For Alpha, open File Manager and double-click metaedit.exe, which will be located in the directory where you installed the Resource Kit, in \ResKit\Tools\MetaEdit.
Using Consistency Checker, you can check schema, the selected key, or all keys. Consistency Checker performs the following tasks:
Consistency Checker will not repair data, because this is a task for the Metabase Browser/Editor. Also, if Consistency Checker finds more than 100 errors, it returns a “Too many errors” message for the 101st error.
<%
Set mb = Server.CreateObject(“MSWC.MetaUtil”)
'Check the schema
Set errors = md.CheckSchema("LM")
For Each error In errors
Response.Write(“Error found in “ & error.Key & “. “)
Response.Write(error.Description & “, “ & Str(error.Id))
Response.Write(“<BR>”)
Next
'Check the rest of the metabase
Set keys = mb.EnumAllKeys(“LM”)
For Each key In keys
Set errors = mb.CheckKey(key)
For Each error In errors
Response.Write(“Error found in “ & error.Key & “. “)
Response.Write(error.Description & “, “ & Str(error.Id))
Response.Write(“<BR>”)
Next
Next
%>
The Metabase Browser/Editor is a tool that provides similar functionality to the Windows NT Registry Editor (regedit.exe). Using MetaEdit, you can browse and modify attributes in the IIS metabase. Note that when using MetaEdit, you can make changes that may damage your IIS configuration. Be sure to edit all entries carefully.
Information in this document, including URL and other Internet web site references, is subject to change without notice. The entire risk of the use or the results of the use of this resource kit remains with the user. This resource kit is not supported and is provided as is without warranty of any kind, either express or implied. The example companies, organizations, products, people and events depicted herein are fictitious. No association with any real company, organization, product, person or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
© 1999-2000 Microsoft Corporation. All rights reserved.
Microsoft, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries/regions.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.