Hi,
I have created desktop applications in visual basic .net (Framework 2.0) which access the web information from a particular site. This application is working great. There is no problem at all. Now I want to call this exe from web, for that I have set up asp.net application, using the process class of the System.Diagnost ics namespace, it is calling exe. Its is also working great when I run this from the ASP.Net Development Server.
But When I setup this asp.net application into IIS. Its getting some problem and even I can not see the error or exe because aspnet user is accessing this and it is executing in background.
Here I have tried much to resolve this problem like:
1) I have assign the full access to this exe using the .net framework configuration setup
2) I have given web access permission using System.Net namespace in my exe as well as in asp.net code.
3) And I have placed aspnet user inside the administrator group also.
4) I have also tried to execute that exe with different user in Process.Start() , but I failed to to this.
5) I have also tried to execute particular code under the different user account, but when I tried this the code is executing under different user account but this exe is executing under the aspnet. I also did not understand why this is happening
I could not find any solution at all.
So can anyone please help me, what should I do to run a desktop application that is accessing a web page from the asp.net page under IIS.
Thanks,
Pratik
I have created desktop applications in visual basic .net (Framework 2.0) which access the web information from a particular site. This application is working great. There is no problem at all. Now I want to call this exe from web, for that I have set up asp.net application, using the process class of the System.Diagnost ics namespace, it is calling exe. Its is also working great when I run this from the ASP.Net Development Server.
But When I setup this asp.net application into IIS. Its getting some problem and even I can not see the error or exe because aspnet user is accessing this and it is executing in background.
Here I have tried much to resolve this problem like:
1) I have assign the full access to this exe using the .net framework configuration setup
2) I have given web access permission using System.Net namespace in my exe as well as in asp.net code.
3) And I have placed aspnet user inside the administrator group also.
4) I have also tried to execute that exe with different user in Process.Start() , but I failed to to this.
5) I have also tried to execute particular code under the different user account, but when I tried this the code is executing under different user account but this exe is executing under the aspnet. I also did not understand why this is happening
I could not find any solution at all.
So can anyone please help me, what should I do to run a desktop application that is accessing a web page from the asp.net page under IIS.
Thanks,
Pratik