I wrote an .EXE program that has a Browse function (Using Windows Forms).After deploying the project to server, I am calling this program using Link Button from web page and it does not work. I see nothing when I click the link.
The same thing works just fine on my local machine. Do you have any clue why this is happening? I can see the program running in the background when I open the task manager in the server where the program and web page resides.
I tried going to IIS Services and ENABLED the option “Interact Service to Interact with Desktop” for Local Service account.
This is my code for onClick method.
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName =
System.Configuration.ConfigurationManager.
AppSettings["BrowseApplication"];
p.StartInfo.CreateNoWindow = true;
p.Start();
The same thing works just fine on my local machine. Do you have any clue why this is happening? I can see the program running in the background when I open the task manager in the server where the program and web page resides.
I tried going to IIS Services and ENABLED the option “Interact Service to Interact with Desktop” for Local Service account.
This is my code for onClick method.
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName =
System.Configuration.ConfigurationManager.
AppSettings["BrowseApplication"];
p.StartInfo.CreateNoWindow = true;
p.Start();