Running a exe file in IIS
Guys,I have develop a web site which have to run an exe file in IIS. It was developed with Visual Studio and when I test it with Visual Studio Embebed Web Server it works fine, but when I run it in IIS doesn't. I know process start to run, but none event run. The process stays open forever and never close, because the event which should close the process doesn't run.Unfortunality I can run it another way, because what we need depends of a windows forms component.Since that works fine in local server, I beleive the problem is the IIS is blocking something because of security reasons. Do you know what I can do to it runs fine?Could you give a hand, please? :-)Regards.Lawrence Carvalho
September 19th, 2008 9:52am
Hi Lawrence,
Did you get any solution?
I am facing same, plz help if you get any
Regards,
Tatva105
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 6:19am
Hello Tim,
Link is not working, I also need the solution
Please help, its quite urgent
Regards,
Tatva105
June 20th, 2011 6:24am
Guys,
I have develop a web site which have to run an exe file in IIS. It was developed with Visual Studio and when I test it with Visual Studio Embebed Web Server it works fine, but when I run it in IIS doesn't. I know process start to run, but none event run. The
process stays open forever and never close, because the event which should close the process doesn't run.
Unfortunality I can run it another way, because what we need depends of a windows forms component.
Since that works fine in local server, I beleive the problem is the IIS is blocking something because of security reasons. Do you know what I can do to it runs fine?
Could you give a hand, please? :-)
Regards.
Lawrence Carvalho
How do you start the "exe" file ? Is it a "COM" component hosted inside an "exe" so that you just create an instance of the program and invoke some method or is it a standalone exe you start by spawning a "shell" ? In either case, did you ensure that all
the needed DLLs/Libraries are available to the program whenever it's started by the IIS user account ?
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 9:14am
hmm Is this thread really solved?
How to start an exe file from IIS..If some code doesn't work, don't worry help is on the way.. don't forget to mark your thread as solved or at least vote as helpful when done...
Contact:
@Twitter
Blogger
July 21st, 2012 6:14am