Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to view the IIS settings (exported from IIS5 via MetaEdit) on an XP machine WITHOUT applying the changes to my local server?

There's an option to Import from a text file, but that warns that it's a destructive action.

The values in the exported file look like:

{ServerComment}
1015="095E","01","01","02","44656661756C74205765622053697465"

And I'm pretty sure that's just ASCII, but going through a couple thousands of lines doesn't seem like fun.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The IIS export utility available here might do what you want (not free, but does have a "trial mode"): http://www.adsonline.co.uk/iisexport/Wrapper.asp?Page=Documentation

If you want to parse it yourself, you can certainly try. Metaedit's export format isn't particularly human-readable. Each line is of the format:

id = unknown, attributes, user-type, data-type, data

This is basically the internal format of the metabase, rendered as ASCII. The id and name come from the Metabase schema, and are numeric identifiers. The metabase schema is broken down, in XML, in the "MBSchema.XML" file in the %SystemRoot%\System32\inetsvr folder on IIS 6.0 and newer installations.

  • I'm having a bit of trouble figuring out what the first entry is after the id! If anybody knows, I'd love to hear.
  • The attributes entry describes the inheritance behaviour of the setting, and is a bitmask.
  • The user-type is an enumeration of types used to classify the type of the value by application (server, web application manager, etc).
  • The data-type is an enumeration of types used to describe the type of the data (string, integer, etc).
  • That "data" value is just the ASCII text encoded as a hex string, "Default Web Site", in this case.

You can find more about the enumerations here: http://msdn.microsoft.com/en-us/library/ms524578.aspx and here: http://msdn.microsoft.com/en-us/library/ms524825.aspx.

You could code something up to parse out the export from MetaEdit using the schema definitions in the MBSchema.xml file to make it human-readable. I'm not aware of anything that's been written to do that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.