ASP.NET and Shell command
-
Hi, My ASP.NET application is hosted on Windows 2003 Standard Server with IIS6.0. My application dynamically converts the autocad files to PDF when user request it, For this i am using third party command line tool which accept input file path and output file path and i am calling this exe using [B][I]Shell()[/I][/B] method. Evetything is working fine on development machine which is windows 2000 pro. But when i run the same on server seems like thigs not working,Is it related to any security settings of IIS. (I also set the application Execute permission to Script and Executable but no luck.... :ehh: ) If you can provide any thread it would be help full. Regards, Ritesh N. Jain
-
Hi, My ASP.NET application is hosted on Windows 2003 Standard Server with IIS6.0. My application dynamically converts the autocad files to PDF when user request it, For this i am using third party command line tool which accept input file path and output file path and i am calling this exe using [B][I]Shell()[/I][/B] method. Evetything is working fine on development machine which is windows 2000 pro. But when i run the same on server seems like thigs not working,Is it related to any security settings of IIS. (I also set the application Execute permission to Script and Executable but no luck.... :ehh: ) If you can provide any thread it would be help full. Regards, Ritesh N. Jain
-
Hi, thanks for reply.I tried with both Process class as well as with Shell() but no luck, when i call the process it runnning in task manager but generate no o/p file....... :confused: Regards, Ritesh
-
Hi, thanks for reply.I tried with both Process class as well as with Shell() but no luck, when i call the process it runnning in task manager but generate no o/p file....... :confused: Regards, Ritesh
You might want to check the account under which the spawned process runs in the Task Manager to see if it has enough permission to do the task. Another option you can try is that you can implement a window service which is responsible for running the third application. The ASP.NET application can use the .Net Remoting to simply send a request to the service to have it run the application.
-
You might want to check the account under which the spawned process runs in the Task Manager to see if it has enough permission to do the task. Another option you can try is that you can implement a window service which is responsible for running the third application. The ASP.NET application can use the .Net Remoting to simply send a request to the service to have it run the application.
hi, the third party is running under local service account (same as w3w ) and i set full control for this account for exe as well as for web app, i don't have much idea about remoting but i will try to it, Thankx, Ritesh