On Wednesday, February 03, 2010, Paco Zarabozo wrote:
>
> 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.
I could not figure out how to use "runas" to run the program as
"Local System" (which is what Services says IIS runs as). I tried:
System
Machine\System
"Local System"
Machine\"Local System"
Administrator
Machine\Administrator
IUSR_Machine
>
> 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
I went through all the instructions on that page, and I still get the
"Access denied" error.
*sigh*
--
Eric
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs