Executing a .EXE program from HTML in IIS and XP Pro

From: ted_thompson61 (tedthompson61_at_discussions.microsoft.com)
Date: 02/26/05

  • Next message: KC: "Re: Question"
    Date: Fri, 25 Feb 2005 16:23:02 -0800
    
    

    We have an application that works on Win 2000 and IIS.

    The program written in C and compiled as .EXE, takes data from an HTML form,
    uses the cmd shell to copy a template file and replaces the data in the
    template with the data from the form. The program then executes another
    program which creates data and executes gnuplot which generates plots.

    All the above worked fine under Win 2000, but we can't seem to get it to
    work under XP Pro SP1 or SP2.

    The program runs and has write permissions in the folder because it writes a
    debug file with the correct data from the HTML forms. The cmd shells for
    copying the file and executing the other program both return -1.

    Using IE 6.0 and IIS V5.1. We have turned the firewall off, no virus
    software, and lowered security settings for all zones. I even turned off the
    Local Machine Lockdown registry values.

    Can someone please help with this? I have a deadline comping up in a week.


  • Next message: KC: "Re: Question"

    Relevant Pages

    • Re: IIS 6.0 on Windows Server 2003
      ... These are the general access patterns for a resource (like an EXE): ... Allow the user to browse to a web page, which executes zipcode.exe on the ... Service Extension for zipcode.exe since IIS is executing it directly. ... resources of particular extension that did not have a MIME Type. ...
      (microsoft.public.inetserver.misc)
    • Frontpage bots not working on IIS 6
      ... Frontpage bots not working on IIS 6 ... I just installed Win2K3 server with IIS 6. ... html form with 1 textbox and submit/reset button in to the default web. ...
      (microsoft.public.frontpage.extensions.windowsnt)
    • Re: IIS 6.0 on Windows Server 2003
      ... Allow the user to browse to a web page, which executes ... This tool works in my exsisting IIS 5 web site application ... in my windows 2000 server. ... then the shell command will work. ...
      (microsoft.public.inetserver.misc)
    • Windows XP and a little ASPNET form
      ... I am able to get a HTML form up and running thru IIS. ... But the ASP script ... I tried setting TRACE but it didn't show. ...
      (microsoft.public.dotnet.framework.aspnet)