Com/asp/ldap maybe?
Hello I have the following line in an asp script: GetObject(IIS:// Application(Server) /W3SVC) To connect to iis to get some details from it. Is there any way of doing the same in coldfusion? Would prefer to do it natively as opposed to cfhttping an asp script. Ryan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Com/asp/ldap maybe?
Ryan Mitchell said: I have the following line in an asp script: GetObject(IIS:// Application(Server) /W3SVC) To connect to iis to get some details from it. Is there any way of doing the same in coldfusion? Would prefer to do it natively as opposed to cfhttping an asp script. I don't think you can do it without going through COM or some executable. I use mdutil.exe (Option pack or Support Tools) called with cfexecute myself. Using a command line tool from CF can be a bit hackish, but it allows for a uniform codebase when I am logged in through OpenSSH and I only have a command line. Syntax will be something like: mdutil enum W3CSVC/1/ and you can drill down from there. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Com/asp/ldap maybe?
I have the following line in an asp script: GetObject(IIS:// Application(Server) /W3SVC) To connect to iis to get some details from it. Is there any way of doing the same in coldfusion? Would prefer to do it natively as opposed to cfhttping an asp script. You can't easily use ADSI (which is what this is) directly from CF - even with CF 5. What I've done before is to write COM wrappers for ADSI functionality in Windows Script Components, and called those. If you're using CFMX, you might find better solutions by searching for ADSI and Java. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Com/asp/ldap maybe?
Aaah java, should have thought of that! Thanks for pointing me in the right direction :) On 14/11/03 1:45 pm, Dave Watts [EMAIL PROTECTED] wrote: I have the following line in an asp script: GetObject(IIS:// Application(Server) /W3SVC) To connect to iis to get some details from it. Is there any way of doing the same in coldfusion? Would prefer to do it natively as opposed to cfhttping an asp script. You can't easily use ADSI (which is what this is) directly from CF - even with CF 5. What I've done before is to write COM wrappers for ADSI functionality in Windows Script Components, and called those. If you're using CFMX, you might find better solutions by searching for ADSI and Java. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]