ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
RE: IIS Configuration and Win32::OLE
by Jeff Saxton other posts by this author
Feb 3 2010 2:06PM messages near this date
RE: IIS Configuration and Win32::OLE | RE: IIS Configuration and Win32::OLE
Search the list, I think Jan posted something about this a couple of weeks ago.

-----Original Message-----
From: activeperl-bounces@[...].com [mailto:activeperl-bounces@[...].com] On Behalf Of Roode,
 Eric
Sent: Wednesday, February 03, 2010 1:21 PM
To: activeperl@[...].com
Subject: IIS Configuration and Win32::OLE

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
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Eric Roode
Francisco Zarabozo
Eric Roode
Jeff Saxton
Ken Cornetet
Eric Roode
Ken Cornetet
Steve Stewart
Eric Roode

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved