Connecting Tech Pros Worldwide Forums | Help | Site Map

Web Service not invoking exe through IIS

Newbie
 
Join Date: Feb 2008
Posts: 11
#1: Apr 10 '08
I have created a web service which calls an exe and i am consuming it using a web page,but the service and page are not calling the exe when run through the IIS.my code is:

ProcessStartInfo ProcessInfo;
Process pro;
ProcessInfo = new ProcessStartInfo("E:\\WebSite\\freecell.exe" );
ProcessInfo.CreateNoWindow = true;
ProcessInfo.UseShellExecute = false;

pro = Process.Start(ProcessInfo);
//ExitCo = pro.ExitCode;
//return "Testing";
string sMsg = string.Empty;

if(!pro.HasExited)
{
sMsg = " Started ";

}
else
{
sMsg = "Failed";
}
return sMsg;

Newbie
 
Join Date: Apr 2009
Posts: 1
#2: Apr 3 '09

re: Web Service not invoking exe through IIS


Did you ever get a response to this? I am having the exact same code problem
Thank You!
ancrawford@bernco.gov
Reply


Similar IIS / Microsoft Internet Information Services bytes