Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: win32::ole and MS Office 2010 over cgi

by wal77 (Novice)
on Feb 04, 2012 at 21:06 UTC ( #951851=note: print w/ replies, xml ) Need Help??


in reply to Re: win32::ole and MS Office 2010 over cgi
in thread win32::ole and MS Office 2010 over cgi

But it works with Windows Server 2003 and Office 2003


Comment on Re^2: win32::ole and MS Office 2010 over cgi
Re^3: win32::ole and MS Office 2010 over cgi
by Anonymous Monk on Feb 05, 2012 at 06:25 UTC

    But it works with Windows Server 2003 and Office 2003

    Microsoft actively improves windows and office, check the changes files on msdn

Re^3: win32::ole and MS Office 2010 over cgi
by furry_marmot (Pilgrim) on Feb 05, 2012 at 06:36 UTC
    I'm not familiar with Server 2008 OR Office 2010...buuut...you might check a couple of things. First, if you installed Office with VBA, check the docs for changes. Running Office from VBA should be almost identical from running it via Perl and OLE, but for some syntax changes. You probably know that a quickstart to automating a task in Office is creating a VBA macro, and then translating it to Perl. Anyway, another possibility is that it's not Word.Application anymore. It's only a shot in the dark, but I hope it helps.

    --marmot

      But it works using the command line or Perl editor, even I tested the script sceduled under the same privileged user as Apache service runnung. All is OK. CGI is the problem.

        But it works using the command line or Perl editor, even I tested the script sceduled under the same privileged user as Apache service runnung. All is OK. CGI is the problem.

        No, restrictions for services are the problem. Read my posting again.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-11-27 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls