Re: How can a virtual root be defined programmatically?
From: A_at_T ((A_at_T))
Date: 11/11/04
- Next message: A_at_T: "RE: Excel component in ASP page creates shortcuts on root of C Drive"
- Previous message: A_at_T: "RE: Cannot submit enctype: "multipart/form-data""
- In reply to: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Next in thread: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Reply: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Messages sorted by: [ date ] [ thread ]
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
>
>
>
- Next message: A_at_T: "RE: Excel component in ASP page creates shortcuts on root of C Drive"
- Previous message: A_at_T: "RE: Cannot submit enctype: "multipart/form-data""
- In reply to: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Next in thread: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Reply: Peter Steele: "Re: How can a virtual root be defined programmatically?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|