Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Open another IE browser window from CGI

by Olaf (Acolyte)
on Jan 25, 2008 at 19:23 UTC ( [id://664342]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Open another IE browser window from CGI
in thread Open another IE browser window from CGI

First, thanks digger for pointing me in the right direction. I think this is an IIS issue so I will take it elsewhere and return the solution here if I find it.

That being said, I can't get an error to show. I have:

use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser warningsToBrowser); use Win32::OLE qw(in with); use Win32; my $browser = Win32::OLE->new("InternetExplorer.Application"); $browser->{visible}=1; $browser->Navigate($SelectedAppURL) || die("IE Not Started:", Win32::FormatMessage(Win32::GetLastError +())); #|| die("IE Not Started:",Win32::FormatMessage(Win32::OLE::Las +tError()));

The code does die on the Navigate line, but the results from both GetLastError and LastError are 'The Operation Completed Successfully'. Carp doesn't return anything of value besides 'Software error'. And if the die() is not in the code, no error is returned.

And as a point of interest on the Windows - IIS side, I've tried:
  • Giving full security permission to Administrator, IUSER to the iexplorer.exe folder and the folder containg the cgi files
  • Gave rights in IIS
  • Changed IIS Anonymous Access to Administrator
  • Set local accounts to 'act as part of the OS'
  • Change the IIS login
  • Do you believe in miracles? Yes!

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://664342]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others pondering the Monastery: (3)
    As of 2026-03-09 02:26 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
      erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.