Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an EXE ? -> error

Status
Not open for further replies.

Bramvg

IS-IT--Management
Joined
Jan 16, 2001
Messages
135
Location
BE
Hello,

I'm getting the code below when trying to execute a exe file on the IIS server :

-----
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
-------
(no headers are displayed)


What I'm trying to do is using an exe file to process a certain math function, and it returns html as result
(the exe is not written by me, so I have no clue how it works exactle).

First of all, besides changes the folder permision (what i've done already), do I have to do something else as well in order to make the exe working?
I don't know, but something like registering the exe?

Would it be enough to put the file in the webfolder? (OR do you always have to make certain modifications in the IIS admin? I never used an exe on a website, so any help More than welcome.

With kind regards and many thanks for help
Bram
 
How are you passing the parameters to the exe? What does your code look like? Can you successfully call the exe file from a dos prompt, pass the parameters, and get the results you want back? - tleish
 
Hello,

First of all, many thanks for your response.

Indeed I have to pass some variables, I do this like this:
a href=PB2002E.exe?ALG;0;1;650;KOD;250;1250000;106;750000;355;100000;400;500000

(the string is correctly passed by the programmer).

I tried to run the exe in DOS (never heard of that tip) but I get the error: mfc42d.dll error, not that this make sense to me ;-)

I you could send me your e-mail adres (bram@vangrimbergen.com) I could send you the exe file + a html file how the result should be.....

With many thanks !!!


With kind regards
Bram
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top