I have an IIS 7 server setup, where I want execute an external application (locally on the server) from a ASP.NET website, to do some processing of some files. The server seems to find the .exe fine, and it "might" be executing the executable as well, but I get no output from the executable. I am guessing I am dealing with permission issues, and either the executable is not being executed at all or it is not allowed to write files. So do anyone have any hints on how I can make sure that IIS is allowed to execute external applications? Or should IIS be able to do that by default, and my issue is in a totally different ballpark?

link|improve this question
feedback

1 Answer

Who is going to execute that file?

Are you calling it directly in the URL, like

http://server.name/some/path/file.exe?parameter=value

or are you calling it from code in a ASP.NET application?

They are two completely different scenarios.

link|improve this answer
Should have been more clear about that. I am calling a .exe directly from ASP.NET. As in using the Process class to execute a file locally on the server. – fursund Jun 4 '10 at 13:16
Can you see the process running (in Task Manager) whan it should be? Do you get any exception from the Process class you're calling? – Massimo Jun 4 '10 at 13:57
No I don't get any exceptions, and the process is running in the Task Manager. – fursund Jun 4 '10 at 14:54
Then it doesn't look like a permission issue. What process is it? What should it be doing? What kind of output are you expecting? Please update question accordingly. – Massimo Jun 4 '10 at 15:07
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.