Set IIS Property

Got a problem you cannot solve? Try here.
Post Reply
mqk
Posts: 18
Joined: Mon Aug 15, 2005 7:57 am

Set IIS Property

Post by mqk »

I have question correspond Set IIS Property. Honestly the documentation are not enough. It doesn't explain in a detail, what should we write inside Property Name field. It just says that we have to enter the property to set.

Currently, I would like to Enable Parent Paths in web site, which has been created using Create IIS Site, I openned MetaBase.xml file and looking for something regards Enable Parent Paths, and then I only found AspEnableParentPaths. Therefore, I used AspEnableParentPaths as a property's name and I set the value to TRUE. But this one doesn't work.

How can I enable this property, any help will be great,

Thanks in advance,

/br
mqk
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

This command only works with simple properties - for instance, you cannot set properties of items that are represented in arrays, or are subitems of another item.

Please see the IIS metabase documentation for a list of properties. I'm not sure all properties in the .xml file would actually be accessible from the IIS metabase interfaces.

Alternately though, you could try editing the .xml file directly and see if that works?
jva
Posts: 2
Joined: Tue Aug 16, 2005 2:22 pm

Post by jva »

What is meant by "simple properties"? And even if they are simple properties, how do I know which ones are accessible and what name to reference them as?
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

A simple property is a boolean, string, or integer value, flat. No arrays, or subproperties are generally supported.

See the IIS metabase documentation for a list of properties. The metabase describes whether they are simple or complex.
Post Reply