how to run script.exe on hosted site?
ashwani
created: 2006-08-02 03:23:33
I have a script.cgi that is converted to .exe using PDK.
From html page I call script.exe
and would like to be able to run this script.exe in the background on my hosted site.

How can I make this happen?

Ashwani
Re: hot to run script.exe on hosted site?
created: 2006-08-02 03:31:25

This sounds to me like a HTML / Webserver configuration question. But you don't even tell us what webserver you are using, what you've done so far, and how it doesn't work out. So how are we expected to help you?

Please read node 172086. Then check if your problem relates to the PDK or if any .exe file will fail in the same way. If that is so, the problem is with your webserver and/or method and we cannot help you there.

Re^2: how to run script.exe on hosted site?
created: 2006-08-02 03:45:30
Here is the info about the server where it is running
Platform - Windows
Server: Microsoft-IIS/6.0 
it is giving error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
i hope it may provide you some more info
let me know if you need more detail
ashwani
Re^3: how to run script.exe on hosted site?
created: 2006-08-02 03:50:56

Have you looked into the server error log? What does it say there?

Have you tried to launch a different program than your program there?

How are you trying to launch/include your script on the server?

Please read node 172086. Really. Read the section of "Show Some Effort". I don't want to ask you question after question to pull every detail out of you. You have not posted any of your code, and you have not shown how this problem is remotely relevant to Perl except that the .exe file was created using Perl. You have not shown what you have done to determine the cause of the error. You have not shown if your program works anywhere else than your development machine at all.

All of these things are not helping us to help you.

Re: how to run script.exe on hosted site?
created: 2006-08-02 08:34:31

A couple of things to consider:

  • Does the program have the desired result when run as a CGI script?
  • Do other scripts run on the server as cgi or exe?
  • What output do you get from the script when executed from the command line?
My guess is that you have a problem with printing the correct header, but it could still be a server issue. If you still can't figure it out, post some example a code and output - someone should be able to find you issue quickly if it is a coding problem.

Thank you,
Greg W.

perlmonks.org content © perlmonks.org and ashwani, Corion, gawatkins

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03