Home: Perl Programming Help: Intermediate:
Perl Script on IIS



Raj_hpking
Novice

Aug 4, 2014, 10:30 AM


Views: 2630
Perl Script on IIS

Hi,

I have created one web service that using Perl script. Web Service creates batch file and System.Diagnostics.Process runBatchcomm = new System.Diagnostics.Process() runs the batch file.

sample batch cmd= c:\>Perl "hello.pl"

Now problem is, My client is calling the web service that is hosted on IIS. But web service does not execute Perl script. I have hosted my web service on windows 7 machine. If I directly copy batch file content and paste it on cmd prompt it do work but request from client is not executing it.

Anyone have faced the issue.

What is the proper way if this is not correct.