Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ADSI with IIS6

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  my cfm page cannot be displayed  
Author Message
wtholmes

External


Since: Dec 07, 2004
Posts: 2



(Msg. 1) Posted: Tue Dec 07, 2004 12:03 pm
Post subject: ADSI with IIS6
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,

I simply wish to enumerate the configururation parameters of a Virtual Web
Server. The one attribute that I am looking for is the Local Path: This
seems so basic yet when I look at the schema for IIS it doesn't seem to be
there. Could someone help me.

Thanks

Bill

 >> Stay informed about: ADSI with IIS6 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 2) Posted: Tue Dec 07, 2004 1:35 pm
Post subject: Re: ADSI with IIS6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

You want to get the Path of the IIsWebVirtualDir object:

<a style='text-decoration: underline;' href="http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_prog_iaorefiwvd.asp" target="_blank">http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_prog_iaorefiwvd.asp</a>
<a style='text-decoration: underline;' href="http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_mb_path.asp" target="_blank">http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_mb_path.asp</a>

I *think* there are some example scripts for this at the iisfaq.com website:

<a style='text-decoration: underline;' href="http://www.iisfaq.com/Default.aspx?tabid=2536" target="_blank">http://www.iisfaq.com/Default.aspx?tabid=2536</a>

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>


"William Holmes" <wtholmes.TakeThisOut@cs.cornell.edu> wrote in message
news:uo6y26H3EHA.3504@TK2MSFTNGP12.phx.gbl...
 > Hello,
 >
 > I simply wish to enumerate the configururation parameters of a Virtual Web
 > Server. The one attribute that I am looking for is the Local Path: This
 > seems so basic yet when I look at the schema for IIS it doesn't seem to be
 > there. Could someone help me.
 >
 > Thanks
 >
 > Bill
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ADSI with IIS6 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Tue Dec 07, 2004 7:52 pm
Post subject: Re: ADSI with IIS6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Script Center
<a style='text-decoration: underline;' href="http://www.microsoft.com/technet/scriptcenter/default.mspx" target="_blank">http://www.microsoft.com/technet/scriptcenter/default.mspx</a>

Website-related Illustration Scripts
<a style='text-decoration: underline;' href="http://www.microsoft.com/technet/scriptcenter/scripts/iis/iis6/web/default.mspx" target="_blank">http://www.microsoft.com/technet/scriptcenter/scripts/iis/iis6/web/default.mspx</a>

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Kristofer Gafvert" <kgafvert.TakeThisOut@NEWSilopia.com> wrote in message
news:O3qU6FI3EHA.1204@TK2MSFTNGP10.phx.gbl...
Hello,

You want to get the Path of the IIsWebVirtualDir object:

<a style='text-decoration: underline;' href="http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_prog_iaorefiwvd.asp" target="_blank">http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_prog_iaorefiwvd.asp</a>
<a style='text-decoration: underline;' href="http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_mb_path.asp" target="_blank">http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_mb_path.asp</a>

I *think* there are some example scripts for this at the iisfaq.com website:

<a style='text-decoration: underline;' href="http://www.iisfaq.com/Default.aspx?tabid=2536" target="_blank">http://www.iisfaq.com/Default.aspx?tabid=2536</a>

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a>


"William Holmes" <wtholmes.TakeThisOut@cs.cornell.edu> wrote in message
news:uo6y26H3EHA.3504@TK2MSFTNGP12.phx.gbl...
 > Hello,
 >
 > I simply wish to enumerate the configururation parameters of a Virtual Web
 > Server. The one attribute that I am looking for is the Local Path: This
 > seems so basic yet when I look at the schema for IIS it doesn't seem to be
 > there. Could someone help me.
 >
 > Thanks
 >
 > Bill
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ADSI with IIS6 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ADSI : IIsWebServer.Stop new Permissions in IIS6? - Hi all, we are using the ADSI Interface for a webbased-administration of our serverfarm. In Windows2000/IIS5 the following code snippet works: =====================code snippet=========================== 'Get the Web service object, which contains..

ADSI with ASP - I'm writing some ASP code to automatically setup websites. So far i have it all working except that i need to set access permissions on one of the sub-directories of a site. Can't figure out how to do it. There is a IIsWebDirectory object but how can i...

ADSI via .net - I want to design an application to administer IIS. I want to do it in .net not VB6 or VBScript. Are there any .net classes for this or do I have to do a COM interop, if interop is the way to do what dll do I have to point to? I am alright with the code I...

ADSI on IIS not the same as PWS - Please take a look at the following code: Sub test() Dim usr Dim grp ' This part is working in Excel, Personal web server and IIS (4 and 5) Set usr = GetObject ("WinNT://valid_domain/valid_user ,user") For Each grp In usr.Groups Debug....

ADSI related - I am writing asp page why the code is failing at Set oRoot = GetObject("IIS://localhost/W3SVC/1/Root") any reasong why GetObject is failing on my localhost
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]