Hi,
--------------------------------------------------
From: "Roode, Eric" <[email protected]>
Sent: Wednesday, February 03, 2010 1:20 PM
To: <[email protected]>
Subject: IIS Configuration and Win32::OLE
> One CGI program is a "download spreadsheet" link. It invokes Excel,
> via OLE, and creates a chart to be downloaded. It does not work. When
> it runs, Win32::OLE->new fails. Win32::OLE->LastError reports:
> Win32::OLE(0.1709) error 0x80070005: "Access is denied". The specific
> call is:
>
> my $excel = Win32::OLE->new('Excel.Application', 'Quit');
>
To run your program at command line as another user, you can use "runas" on
command line. Type "runas" alone to see usage.
About your COM/OLE permissions, you can configure them using DCOMCNFG (type
it at command prompt or on the "run" menu on start menu). Here's a URL that
can be helpful:
http://j-integra.intrinsyc.com/support/com/doc/remoteaccess.html
HTH
Paco Zarabozo
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs