Group,
Here is the problem. I have a CGI script that calls a sub routine as
follows:
my $OL;
eval {$OL= Win32::OLE->GetActiveObject('Outlook.Application')};
unless (defined $OL) {
$OL= Win32::OLE->new('Outlook.Application');
} # , sub {$_[0]->Quit;}
then I do an add to my contacts.
This same routine works great in a standalone script that I run at the
command prompt - however when I set it up within my cgi script I get the
following
after waiting forever:
Win32::OLE(0.1502) error 0x80080005: "Server execution failed" at
c:\web\cgi-bin\PHONEL~1\new.pl line 212
eval {...} called at c:\web\cgi-bin\PHONEL~1\new.pl line 212
main::AddToContacts(423) called at c:\web\cgi-bin\PHONEL~1\new.pl
line 182
main::additem2 called at c:\web\cgi-bin\PHONEL~1\new.pl line 83
I am wondering if I am loosing the server somehow because I need to give the
subroutine more information about where the my box is located?
I have not a clue.
My vitals are:
windows 2000 - apache web server - outlook2000. All of this is running on
my own box.
Any and all suggestions would be appreciated.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs