Is there any reason we couldn't update metabase.xml explicitly and add the
virtual dir manually? I realize this probably isn't a recommended way but in
our case the addition of this virtual root will happen once and never be
changed, and it happens during configuration of our web server. We could
create the root with IIS of course but we want to automate the process.
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:B11B5CF1-D780-46AB-B8ED-338632BAD9C8@microsoft.com...
> "Peter Steele" wrote:
>> We have an application that requires us to define a virtual root in IIS
>> programmatically rather than through the IIS manager. How can this be
>> done?
>
> You would use ADSI or WMI:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.iisfaq.com/Default.aspx?tabid=2537</font" target="_blank">http://www.iisfaq.com/Default.aspx?tabid=2537</font</a>><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: How can a virtual root be defined programmatically?