Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
Who is going to execute that file? Are you calling it directly in the URL, like 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. –  Massimo Jun 4 '10 at 13:05
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.