I am trying to run a simple program to open an Excel file (work in placing data in it later) I can get it to run via the command line, but I need it to run through a browser, by that I mean, I need the user to run a script and it open the users Excel (not the servers). I try the basic code but I get the following error(s) on the browser:

Win32::OLE(0.1401) error 0x80080005: "Server execution failed" at D:\D +WH_web\CGI_BIN2\testing\test_excel.pl line 7 Can't call method "Workbooks" on unblessed reference at D:\DWH_web\CGI +_BIN2\testing\test_excel.pl line 11.


and the following on the server log (Win2K):

Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature + 'EXCELFiles', component '{CC29E96F-7BC2-11D1-A921-00A0C91E2AA2}' fai +led Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature + 'EXCELFiles' failed during request for component '{CC29E96F-7BC2-11D +1-A921-00A0C91E2AA2}' Failed to connect to server. Error: 0x80004001


Any help and/or ideas would be great, solutions would be better ;-)

Thanks in advance

John

In reply to Win32::OLE and CGI ? by jwherbold

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.