Re: How can a virtual root be defined programmatically?

From: A_at_T ((A_at_T))
Date: 11/11/04


Date: Thu, 11 Nov 2004 05:28:01 -0800

Are you saying you want to open metabse.xml with a text editor and add the
entry? You could do that.

If you want to automate it, than ADSI or WMI is the way to go. You would
call those objects in your code.

"Peter Steele" wrote:

> 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:
> > http://www.iisfaq.com/Default.aspx?tabid=2537
>
>
>



Relevant Pages

  • Re: How can a virtual root be defined programmatically?
    ... > Are you saying you want to open metabse.xml with a text editor and add the ... >> our case the addition of this virtual root will happen once and never be ... >> create the root with IIS of course but we want to automate the process. ...
    (microsoft.public.inetserver.iis)
  • Re: Not asked for Password
    ... You can configure Windows XP to automate the logon process if your computer ... Double-click the DefaultPassword entry, ... a- On the Registry Editor menu, click Edit, click New, and then click ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Increase time by set number of minutes
    ... I call the table you wanna update yourtable where I assume there's a field ... group them together by catagory and then manually assign it a catagory ... number, an awards ceremony, and then an entry number. ... I am now trying to automate making a schedule. ...
    (microsoft.public.access.modulesdaovba)
  • On_change , Upper case, file SaveAs
    ... I am trying to automate a spreadsheet and have come across ... I want to convert data, on entry, in particular cells ... from lower case to upper case. ... same waythat the GetSaveAsFilename command does. ...
    (microsoft.public.excel.programming)
  • Re: Disabling ctrl alt delete
    ... You can configure Windows XP to automate the logon process if your computer ... Double-click the DefaultPassword entry, ...
    (microsoft.public.windowsxp.security_admin)