I have an VFP COM EXE on a Server2003 box, that is an ASP.NET box. This EXE makes repeated calls to take SQL data and put it into VFP tables. Then they are zipped and FTP'ed to a print shop for publication.
In my web app I call the VFP via:
private void genoutput (string lcMake)
{
Process myProcess = new Process();
myProcess.StartInfo.UseShellExecute = true;
myProcess.StartInfo.FileName = "C:\\parkerexport\\parkerexport.exe";
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
myProcess.StartInfo.Arguments = lcMake ;
myProcess.Start();
}
This runs fine on my laptop XP-Pro from the ASP button click. But just starts on the Server2003 box. When I use the RUN on the Server2003 with c:\parkerexport\parkerexport.exe " " I see the window pop and the app runs fine.
I have set permissions on the folder for ASPNET to read & write. I have the runtimes in system32 and c:\parkerexport.
What obvious thing am I missing here?
TIA
__Stephen