Eric
Have you turned on auditing for failed object access? It should capture what
the failure is in the security log.
Rgds,
Steve
> Subject: RE: IIS Configuration and Win32::OLE
> Date: Thu, 4 Feb 2010 11:17:13 -0500
> From: [email protected]
> To: [email protected]
>
> I don't see how to run a program as that user. I can find no such user
> in the system. So when "runas" asks me for a password, I have no idea
> what to enter. If I just hit enter, I get "1326: Logon failure: unknown
> user name or bad password."
>
> -----Original Message-----
> From: Ken Cornetet [mailto:[email protected]]
> Sent: Wednesday, February 03, 2010 5:49 PM
> To: Jeff Saxton; Roode, Eric; [email protected]
> Subject: RE: IIS Configuration and Win32::OLE
>
> Are you running that script as the default IIS user? By default the IIS
> default user (IUSR_XXX) gets deny ACLs set on many folders, including,
> IIRC, Program Files.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jeff
> Saxton
> Sent: Wednesday, February 03, 2010 5:07 PM
> To: Roode, Eric; [email protected]
> Subject: RE: IIS Configuration and Win32::OLE
>
> Search the list, I think Jan posted something about this a couple of
> weeks ago.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Roode,
> Eric
> Sent: Wednesday, February 03, 2010 1:21 PM
> To: [email protected]
> 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
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs