Possible Duplicate:
command prompt do not opens up when calling (.exe) console application from web application c#
I am working with the console application in which i have not hidden the command prompt. I call this application from another web application. When i run web application in visual studio it shows command prompt opened, but when i hosts this web application on IIS the command prompt do not show up but the process is running somewhere at backend.
Can anyone give some idea why the command prompt is show up when console application is call from IIS
Your web application isn’t running in the context of an interactive user – it’s running in the context of a windows service, which typically doesn’t, shouldn’t and can’t interact with the desktop. (You can allow services to interact with the desktop, but I don’t think you should, at least for IIS…)