Dear Perl Monks, I have a strange problem, my requirement is to push scripts to a remote machine and the script should start running on that remote machine. inorder to push the files to the remote machine i am using a freeware tool BeyondExecv2.exe. The bat file and the script which would run is pasted below:
In start.bat c:\perl\bin perl c:\sendeicar.pl in sendeicar.pl my $notes = Win32::OLE->new('Notes.NotesSession') or die "Error :Canno +t start Notes Session $!";
I just have one line which would open the Lotus Notes on the remote machine, to read mails etc. When i copy the script manually to the remote machine and execute start.bat, the script works fine and opens lotus notes. When i try running the same script from the server which inturn would initiate a run on the client machine i get the following error "Error: Cannot start Notes session, Bad file descriptor at NotesSession.pm line 7". I am unable to figure out why this is happening, Please do help me because i am badly stuck because of this problem. Thanks, Nisha

In reply to Running Win32::OLe on Remote machine by nisha

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.