Hello,
I am not sure that this is a Perl problem, but I've been trying
everything else for two weeks, maybe someone here can help.
We had a Windows 2003 server running IIS, with an AS Perl CGI
website. Then the server crashed. I have reinstalled the website on a
different Win2003 server, and everything works great -- except for one
thing.
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');
The program runs fine from the command line, whether I run it as a
privileged user or not. IIS itself runs as "Local System"; I haven't
figured out how to run a program at the command line as that user. IIS
does have Excel MIME types configured. Excel is installed on the
server, for all users.
My *guess* is that this is some stupid simple configuration or
permission problem, but I cannot compare things to the old server,
because it's completely unusable. I have no idea what access is being
denied, or what permission to grant to whom. Any help is greatly
appreciated, thanks.
Eric J. Roode
Senior Enterprise Developer
Barrack, Rodos & Bacine
(215) 963-0600
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs