Exchange 255 RPC Connection Limit

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
 
D

Dmitry Streblechenko

I don't think there is a way to monitor open RPC connections.
Another thing to keep in mind is multiple dot notation: make sure you do not
use it.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
O

OutlookIssueMan

Yes, we are (generally) very careful about that. I was hoping that there
would be a system call, WMI, networking monitoring tool, or something that I
could use to monitor the connections.

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top