Error:
%1 is not a valid Windows NT application.
Permissions all set right, paths utterly correct, and other scripts with the same extension and variables are running fine.
I came across this once before, but it was more than a year ago, I had forgotten the solution, and so was stymied again. It took a couple of hours to nail it down, and I'm posting it here to save others the same trouble.
Cause: The NT server was set to execute .cgi (or .pl) extensions in the cgi-bin itself only. This permission does not necessarily carry to sub-directories created in the cgi-bin.
Solution: Have the server extend .cgi or .pl execution priviledges to sub-directories of the cgi-bin.
Now the script works wonderfully.
Hope this helps someone.
Sylvania
%1 is not a valid Windows NT application.
Permissions all set right, paths utterly correct, and other scripts with the same extension and variables are running fine.
I came across this once before, but it was more than a year ago, I had forgotten the solution, and so was stymied again. It took a couple of hours to nail it down, and I'm posting it here to save others the same trouble.
Cause: The NT server was set to execute .cgi (or .pl) extensions in the cgi-bin itself only. This permission does not necessarily carry to sub-directories created in the cgi-bin.
Solution: Have the server extend .cgi or .pl execution priviledges to sub-directories of the cgi-bin.
Now the script works wonderfully.
Hope this helps someone.
Sylvania