C# Outlook Object Model / Exchange 2003 Event 9646

G

Guest

I don't see an Exchange specific newsgroup so I am posting this here

Problem
Exchange Server throwing Event ID: 9646 'exceeded the maximum of 250 objects of type "objtMessage"

Cause
Application using C# Outlook Object Model is enumerating through calendar items to provide synchronization with an external calendar. The items can exceed well over 250 objects

Question:
How do tools like Mailbox Move and ExMerge get around the limitation? Is there a way to create an exception to the rule based upon the user or application (digital signing)?
I have seen kb830836 and others. Modifying the registry to increase the number of objects allowed to be accessed is not desirable. I would prefer to find a way to allow the application to work (as it did with Exchange 2000) without disabling / altering the settings across the board

Thanks!
 
J

Jay B. Harlow [MVP - Outlook]

fb,
Are you calling System.Runtime.InteropServices.Marshal.ReleaseComObject when
you are done with each COM object?

For a list of articles on using Outlook form .NET see:

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

I don't see an Exchange specific newsgroup so I am posting this here.


Problem:
Exchange Server throwing Event ID: 9646 'exceeded the maximum of 250 objects of type "objtMessage"'

Cause:
Application using C# Outlook Object Model is enumerating through calendar
items to provide synchronization with an external calendar. The items can
exceed well over 250 objects.
Question:
How do tools like Mailbox Move and ExMerge get around the limitation? Is
there a way to create an exception to the rule based upon the user or
application (digital signing)?
I have seen kb830836 and others. Modifying the registry to increase the
number of objects allowed to be accessed is not desirable. I would prefer
to find a way to allow the application to work (as it did with Exchange
2000) without disabling / altering the settings across the board.
 

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