This my 2nd article on installation issues regarding Microsoft Dynamics CRM 4.0.  However, the info below applies to both MS CRM 3.0 and 4.0.


Article 2 – Send Email Errors and Corrupt Attachments.

After running CRM for a few days all is going well, except for sporadic errors being reported by users related to sending emails via the web client.  The errors seen by the users can be:

“Invalid Association: The request association is not valid”
“Invalid Visibility Modification Access”
Attachments are being sporaticaly corrupted.

So how do we fix this.

Step A. First, if you are running MS CRM 3.0.  Either install Rollup 2.0 or install the hotfix related to Microsoft KB Article 9299904.  This is an issue specificaly related errors when sending attachments containing special characters in the file name (! @ # $ etc).

Step B.  Second, try follow the recommendations on this Microsoft KB Article 916925

In CRM 3.0 the smtp server and smtp options can be changed via registry keys in the MSCRM registry area area.

In CRM 4.0 the smtp server and options can be changed via the CRM Email Router.

Step C.  In addition to the above recommendations, if you are using the Microsoft SMTP service, very that no restrictions are set on incoming email messages.

It is always a good idea to also verify that relaying is ONLY allowed from the local the local server and as an additional layer of protection, use ipsec filtering or the windows firewall to completely block access to incoming smtp connections.

Step D.  If the above recommendations still do not fix the issue, then step C is to disable ‘ip chimney’.    In layman’s term, ip chimney is a method of offloading tcp/ip processing from the CPU to a network card that supports this.  This is turned on by default with Windows 2003 SP2.   Certain older network cards or drivers have problems with this.  To disable ip chimney,  issue this command on a dos window:

Netsh int ip set chimney Disabled

That’s about it.  If after trying steps a,b,c,d you sill have issues with sending emails with either crm 3.0 or 4.0, feel free to post a comment in this blog.  Thanks for reading!

Avatar for Joe D365

Joe D365

Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.