CRM 2011 – Outlook Synchronizing exception of type ‘Sytstem.OutOfMemoryException’

[tweetmeme source=”BenHosk” only_single=false]

I got an error today when synchronizing my outlook and going offline for the first time.

It’s always a bit scary going offline and it’s a terrible call to get if you have a customer who is having trouble with going offline.

I got this error when it was trying to bring down the customizations.  What made this quite scary was I have recently upgraded the organisation from CRM 4 to CRM 2011.

There were customizations in the organisation which the company isn’t really using but have now been upgraded.

After googling the problem I found this forum post, you know it’s not a good problem when the only answers you find are on forums.

The answers on this forum didn’t really make me feel particularly happy because they all seemed to involve running database scripts directly on the database tables, which is something no CRM developer likes to do because you are then on your own and Microsoft will disown you and your hacked CRM database.

The problem seemed to be centered around stuck workflows causing the problem.  I have dealt with this tricky chaps before.

I’m not saying my answer is the best but I went to SETTINGS/SYSTEMS JOBS and choose the View – Suspended System Jobs

This showed me a list of 30 workflows which had failed and then been set to try again in the year 9999.  I have no idea what the purpose of setting a date that will never happen!!!

All I did was cancel the workflows (yes slightly naughty I know but the workflow wasn’t that important in this case) and then synchronised again and this time it worked.

I’m not convinced this was completely the right thing to do but it fixed the problem and then I fixed the problem with workflow and should hopefully not have any more problems.

One thought on “CRM 2011 – Outlook Synchronizing exception of type ‘Sytstem.OutOfMemoryException’

  1. Metaphorix September 21, 2011 / 2:51 pm

    This happened to me.

    I had to restart Microsoft Outlook and I also published all configuration changes and then it updated ok


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.