I have a perl program hosted on a windows 7, which is being called by a publishing framework hosted on a linux environment.
This publishing framework has a Java based interface which calls the configured script (perl program calling external officetoPDF) on windows to perform the command-line conversion.
Input files (MS Office files) are copied into windows via an FTP (IIS) for OfficeToPDF.exe to convert to PDF.
When executed locally on windows command line works fine with file converted to PDF.
When invoked through publishing framework,officetopdf returns below message
Object reference not set to an instance of an object. Did not convert
I have another external program call for non-office ASCII file to binary file conversion inside my perl program which works perfectly fine with publishing framework call.
I have checked the user permission,execute permission on the ms-office file before conversion and path,still not able to get around this issue.
I also tried permission with related workaround with no luck
Have also come across similar issue reported but not answered in this forum
Any pointer much appreciated