dc7669
Joined: 08 Oct 2008 Posts: 6
|
Posted: Fri Oct 10, 2008 2:27 pm Post subject: Fortran CGI that calls another Fortran program fails |
|
|
I have a Fortran CGI program that calls a few other Fortran program via cissue(OtherFortranProgram, iFAIL). This Fortran CGI program has been working on Windows 2000 Server with IIS x.x
Recently, we upgraded our server to Windows 2003 with IIS 6.0. Since then, the external Fortran programs will not run, although the CGI itself seems to run properly.
When I print out the iFAIL after the cissue line, iFAIL =0. That should mean OtherFortranProgram was invoked. I tried various experssions in the OtherFortranProgram, such as 'E:\Fortran\OtherFortranProgram(.exe)' and just 'OtherFortranProgram(.exe)'. All attempts failed.
I gave "Full Control" to everyone to the Folder where OtherFortranProgram and CGI reside.
When went wrong? How came it worked before and not anymore?
Aside, I saw in the Forum that Start_program@ is an alternative to Cissue, but I could not find this function in the help file from my ftn95 compiler. I could only find Start_process@.
I tried to test start_program@ using i=start_program@('dir',''). The program will not compiled.
I tried to test start_process@ using i=start_process@('dir',''). i returned as -1. But, then, I tried i=start_process@('anotherFortranProgram,'') and worked. May be I need to change all the cissue command to start_process and problem will be solved?!
Let me try and report back here later......... |
|