hello all,
I wrote a wcf service web site, everything works fine except when I try to run an exe
on local path.
it works ok localy but when I'm calling the ws it just doesn't work.
here is the call code:
private void runCalcExe(string exePath)
{
try
{
Process p = new Process();
p.StartInfo.FileName = @exePath;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = this._in_id.ToString();
p.Start();
p.WaitForExit();
}
catch (Exception exc)
{
Console.WriteLine(exc.StackTrace);
return;
}
}
here is the execption: at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at WcfServiceLibrary1.OzarClac.runCalcExe(String exePath) in C:inetpubwwwrootWcfServiceLibrary1WcfServiceLibrary1IService1.cs:line 546
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









