I have a program running under IIS 5 (Windows 2000) which contains the following line:

my $pdfextraction = "pdftotext.exe";
my $file = "my.pdf";
my $extractionfile = "-";
my $text = qx($pdfextraction, $file, $extractionfile);

When I go to migrate it, the perl script will return the text output from the command windows on Windows 2003 (I'm assuming because <STDOUT> *is* the command window) but not when called from IIS 6. Within IIS6 it will execute the rest of the code but not assign the output to $test.

The pdftotext.exe has IUSR_machine privileges for Read/Execute.
The IIS application has scripts and executables (is this necessary?)
I even tested with Web Service Extensions, by added a path to the underlying executable plus two "%s" to handle the command line variables. (is this necessary?)

No joy.

Is this impossible or just a minor configuration tweak away from working?

Walter Lewis
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to