Bit of a cross post from Perl-Win32-Web, sorry:
Trying to use Win32::OLE to access the IIS object on an NT4 IIS4
server. I've seen VBS scripts that use GetObject('IIS://servername/W3SVC'),
to get and set the the information I require, but when I try to use
Win32::OLE
on either 'IIS', 'IISWAM.Application', or 'IISWAM.W3SVC' (best guesses at
the right object)
I get 'Win32::OLE(0.1402) error 0x80004002: "No such interface supported" at
C:\ole2.pl line 4'
Does this mean that I cannot access this object through Perl or is there
something I am missing.
I've been pointed in the direction of this documentation for IIS object
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dniis/html/
Autoadm.asp?frame=true
but again, its all vbs to me.
How do you translate
vbs Set ServObj = GetObject("IIS://MYWEBSERVER/w3svc/1/Root")
into perl Win32::OLE
tia
Steve
Email Disclaimer
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users