![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 - "OutlookIssueMan" wrote in message ... 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 |
#3
|
|||
|
|||
![]()
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 "Dmitry Streblechenko" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Limit of events in Public shared calendar on Exchange server? | rjejyork | Outlook - Calandaring | 1 | May 28th 08 03:32 AM |
rules limit with exchange 2003 | CRNews | Outlook - General Queries | 1 | October 30th 07 07:52 PM |
Exchange 256 limit on Outlook Items retrieved | Pjdav | Outlook - Calandaring | 1 | May 11th 07 01:26 AM |
Exchange 250 open objMessage limit | [email protected] | Add-ins for Outlook | 2 | April 21st 06 04:04 PM |
Limit in exchange 2003 250 item at a time | Marco | Outlook - General Queries | 0 | February 9th 06 01:43 AM |