Our ASP.NET MVC application is used to coordinate parallel execution of a 3rd executable that loads records into an ERP system. With some sets of data everything works perfectly. When the set of data gets bigger the 3rd party program gets hung up and never exits even when it is done sending the data.
I ran a test using a batch file with the same level of parallel processing and data and the program works as expected.
It appears that there is something about running in the context of IIS that is causing this. We launch the application from our code using Process.Start().
I have ruled out permissions as the cause already. I also tried checking a box in the IIS Admin Service to allow the service to interact with the desktop but that made no difference.
Are there any other changes to the IIS configuration that are likely to be affecting the way the application runs?
UPDATE I am changing this question because I have now learned that my problem had nothing to do with IIS. It was a deadlock condition caused by the way I was configuring Process.Start(). This problem and it's solution duplicate: ProcessStartInfo hanging on “WaitForExit”? Why? Tim's comment gave the clue needed to ask the right question.