in reply to Re^6: win32::ole runs under cmd line but not cgi
in thread win32::ole runs under cmd line but not cgi

Hi,

Thanks for the response. I am able to open and run the macro when Iam logged in the server using the same windows authentication. Thanks for the pointers to the other perl modules for faster execution. But this problem seems to be getting too big than it needs to be :( ..Appreciate any insights!

Thanks!
  • Comment on Re^7: win32::ole runs under cmd line but not cgi

Replies are listed 'Best First'.
Re^8: win32::ole runs under cmd line but not cgi
by Anonymous Monk on Apr 19, 2013 at 07:49 UTC

    But this problem seems to be getting too big than it needs to be :( ..Appreciate any insights!

    Get professional help :) win32/ole/...everything is a PITA if you don't have the right kind of experience (I don't have it)

      OK, Finally got rid of the error after several attempts at modifying permissions and running apache as a separate user with all required privileges with no avail, by creating a profile folder for Desktop under

      C:\Windows\SysWOW64\config\systemprofile\Desktop

      Found this solutions in msdn forum http://social.msdn.microsoft.com/Forums/en-US/innovateonoffice/thread/b81a3c4e-62db-488b-af06-44421818ef91?prof=required

      Hope this will help someone using these modules in future.
        Very much appreciated for sharing the solution!!!
Re^8: win32::ole runs under cmd line but not cgi
by suzun30 (Acolyte) on Apr 19, 2013 at 17:34 UTC
    Also, it is a windows server on which I have apache. My webpage needs to generate excel reports with huge bulk of data, so going this route. appreciate any inputs to the right direction to getting this issue resolved. Appreciate it much.