Hello
I am using the Shell function to execute an exe program, from server-side code of course. The call fails silently in a strange way. The EXE runs fine when i am double clicking it from the Windows Explorer. I even trying to run "c:\windows\notepad.exe" and the notepad starts but somehow with no interface, it just appears in the windows task manager as a process taking no cpu usage.
I feel that is something about rights and permissions. I've already tried to give to the exe access to the ASPNET user, even full read/write permissions to the entire directory, but still the same.
Shell fails silently. No trappable runtime error. Feel free to reproduce the problem by creating a new vb.net web application and run a program (exe) via Shell in the Page_load event. Please help.
p/s
- Diagnostics.Process.Start fails too.
- The exe program i am trying to run has no visual interface.
- The server runs WinXP Pro and asp.net is 1.1 (vb.net 2003).
I am using the Shell function to execute an exe program, from server-side code of course. The call fails silently in a strange way. The EXE runs fine when i am double clicking it from the Windows Explorer. I even trying to run "c:\windows\notepad.exe" and the notepad starts but somehow with no interface, it just appears in the windows task manager as a process taking no cpu usage.
I feel that is something about rights and permissions. I've already tried to give to the exe access to the ASPNET user, even full read/write permissions to the entire directory, but still the same.
Shell fails silently. No trappable runtime error. Feel free to reproduce the problem by creating a new vb.net web application and run a program (exe) via Shell in the Page_load event. Please help.
p/s
- Diagnostics.Process.Start fails too.
- The exe program i am trying to run has no visual interface.
- The server runs WinXP Pro and asp.net is 1.1 (vb.net 2003).
Last edited: