A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Exchange 255 RPC Connection Limit



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 15th 08, 07:06 PM posted to microsoft.public.outlook.program_vba
OutlookIssueMan
external usenet poster
 
Posts: 7
Default Exchange 255 RPC Connection Limit

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  
Old October 15th 08, 08:56 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Exchange 255 RPC Connection Limit

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  
Old October 15th 08, 09:56 PM posted to microsoft.public.outlook.program_vba
OutlookIssueMan
external usenet poster
 
Posts: 7
Default Exchange 255 RPC Connection Limit

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.