Synchronization Problem with Outlook via MAPI

Hello,

Our application synchronizes appointments with Outlook via MAPI. This works fine, if no Exchange server is present. With Exchange server (Version 2010 German) we have sometimes the problem that we get strange error messages. I.e. we call GetItemFromID(EntryId) and an error is thrown like
"Fehler bei diesem Vorgang. Die Messaging-Schnittstellen haben einen unbekannten Fehler zurückgeliefert. Falls das Problem weiter besteht, starten Sie Outlook neu."  (English: The operation failed. The messaging interfaces have returned an unknown error. If the problem persists, restart Outlook.)
or
"Die Anzahl der Elemente, die gleichzeitig geöffnet werden können, wurde vom Serveradministrator begrenzt. Schließen Sie zunächst geöffnete Nachrichten, oder entfernen Sie Anhänge und Bilder von ungesendeten Nachrichten, die Sie gerade verfassen."  (English: Your server administrator has limited the number of items you can open simultaneously...")
or
 "Ein Clientvorgang ist fehlgeschlagen." (English: A Client Operation failed.)

If this problem arises with a user, it arises again and again and repeatedly. Any solutions?

Second question: Which is nowadays Best Practices for the synchronisation with Outlook. Are there good Third party products, experiences?
SirAskALotAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Adam FarageConnect With a Mentor Enterprise ArchCommented:
Sounds like an issue with Throttling of the RPC Client Access connectivity (e.g: MAPI.NET). I would read up on Throttling Policies so you are aware of how they work, and then speak to the vendor on the proper throttling that should be put into place.

In the meantime, try making a new throttling policy and setting the RCA (RPC Client Access) category to $NULL...

- To create a new throttling policy...

New-ThrottlingPolicy "MAPI Test Connection" -RCAMaxConcurrency $NULL

Open in new window


- Apply the throttling policy

Set-Mailbox "test user" -ThrottlingPolicy "MAPI Test Connectivity"

Open in new window


You can also look at the CAS to see if you are getting Event ID 2915 (throttling), but I have noticed that doesnt always show up.
0
 
SirAskALotAuthor Commented:
Thank you for your answer.
The Server is not managed by us, so we will check this with the responsible Person.
We will give a Feedback if the solution works.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.