D
dushkin
Hi all.
I have the following code in my Web Service implementation:
Process p = null;
try
{
string targetDir;
p = new Process();
p.StartInfo.FileName = @"c:\copystam.bat";
p.StartInfo.CreateNoWindow = false;
p.Start();
return true;
}
catch (Exception ex)
{
Console.WriteLine("Exception Occurred :{0},{1}",
ex.Message, ex.StackTrace.ToString());
return false;
}
The batch file does not execute. No exception is catched.
I am running on Win7, IIS 7.5.
.Net 4
Thanks!
I have the following code in my Web Service implementation:
Process p = null;
try
{
string targetDir;
p = new Process();
p.StartInfo.FileName = @"c:\copystam.bat";
p.StartInfo.CreateNoWindow = false;
p.Start();
return true;
}
catch (Exception ex)
{
Console.WriteLine("Exception Occurred :{0},{1}",
ex.Message, ex.StackTrace.ToString());
return false;
}
The batch file does not execute. No exception is catched.
I am running on Win7, IIS 7.5.
.Net 4
Thanks!