Hi,

I have a classic ASP script on IIS 7 that runs an exe from command line. The exe has a "reuse" flag which allows it to remain memory resident for some time so that future calls to the exe will use an existing instance of the exe in memory.

Since the startup time of the exe is extremely long I need to get IIS to reuse the existing memory resident instance of the exe. If I run it from a command prompt with the reuse flag startup time is negligible however no matter what I do in IIS it always has this very long startup time regardless of the inclusion of the reuse flag when calling the exe.

I suspect it's something to do with how IIS manages memory between requests. Is there any way around this?

Any advice would be appreciated. Thanks!