I am getting an error when running some ADSI code...here is a sample that works when run from DOS but doesn't work through IIS 5.5. IIS has been configured to run processes as the logged on user so that I can logon as an admin.
Here is the code: use Win32::OLE; $server = "CG-BACKOFF-2"; $containero = Win32::OLE->GetObject("LDAP://$server.cgc.maricopa.edu/CN=TSS,CN=Users,DC=cgc,DC=maricopa,DC=edu"); print(Win32::OLE->LastError()); This works in DOS but returns the following error in a web-browser. Win32::OLE(0.1502) error 0x80005000 after character 0 in "LDAP://CG-BACKOFF-2.cgc.maricopa.edu/CN=TSS,CN=Users,DC=cgc,DC=maricopa,DC=edu" Would appreciate some help... Systems Programmer Only those who have the patience to do simple things perfectly ever acquire the skill to do difficult things easily. Author Unknown _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs