O
OutlookIssueMan
We have a C# and C++ program that processes lots of Outlook Items, and we
have run into Exchange's 255 RPC connection limit in the past. We had
solved our problems by releasing COM objects, calling garbage collection at
opportune times, and working carefully with large selections of items within
Outlook.
Recently we made a change that caused us to run into the limit again. I
suspect we added code that does not release it's resources properly, however
it is a complicated program and it's difficult to tell.
My question is, is there any way to monitor the count of RPC connections to
Exchange using C#? If I could see where the connections were increasing, it
would be a lot easier to debug these problems, now and in the future.
Michael
have run into Exchange's 255 RPC connection limit in the past. We had
solved our problems by releasing COM objects, calling garbage collection at
opportune times, and working carefully with large selections of items within
Outlook.
Recently we made a change that caused us to run into the limit again. I
suspect we added code that does not release it's resources properly, however
it is a complicated program and it's difficult to tell.
My question is, is there any way to monitor the count of RPC connections to
Exchange using C#? If I could see where the connections were increasing, it
would be a lot easier to debug these problems, now and in the future.
Michael