![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an awful old COM object that periodically blows up. What I'd like to do is set up my app pool in IIS 6.0 so that only one concurrent request per worker process. This way, when the COM object blows up, it won't take down the rest of my requests with it, as is presently the case. There's a ton of settings for IIS 6, and I am being too lazy to dig through them all and experiment. What's the right way to set this up? |
#3
| |||
| |||
|
|
A try/catch block doesn't work for you? -- |
#4
| |||
| |||
|
|
snip A try/catch block doesn't work for you? -- No, it doesn't. The exception blows right past the try / catch and terminates the asp_wp.exe process. I'm catching System.Exception. I'm honestly surprised at this. I would have thought that try / catch in C# would let me eat those. I even went looking for something that let's C# catch structure exceptions ala the way C++ lets you eat GP faults in a similar way, but to no avail. The only thing I could think of would be if the exception being thrown wasn't a System.Exception derived exception, which I've read can happen in Biztalk, but in a mainstream C# application? I'm shocked. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |