Click to See Complete Forum and Search --> : ASP and EXE


Jster
11-06-2006, 09:20 AM
Here's the scenario, we have an exe file on another server "Server1". We want an asp page on our Web server to run the exe file on server1 and not hose up the webserver. Is this possible? Are there any references to doing this?

I was thinking that we could use wscript.shell object and run "\\Server\location\exe.exe par1" but I'm thinking that runs the executable on the web server and not on the Server. I hope this make sense.

Thanks,
Josh

so_is_this
11-06-2006, 11:28 AM
The program would have to be executing, say, as a service on the other server. Then, a program-to-program communication link would have to be set up (e.g., a socket) to communicate with that service on the other server. Any other reference to the EXE file causes it to be sent to the local machine for execution.