Freigeben über


Sending Office 2007/2003 documents as attachments causing the application to terminate if the CRMAddin is enabled

When you are facing the issue with Office products(Excel, Word, PowerPoint) terminating unexpectedly (crash) when sending documents as attachment this can be due to the situation when the Office product is forced to use .Net Framework version other than 2.0. 

If the problem concerns Excel then please verify if you have an Excel.exe.config file (located in the folder where Excel.exe itself is located) restricting Excel from using .Net Framework 2.0.

If so then remove the .config file or add new line like the below to allow using .Net 2.0 as well:

<supportedRuntime version="v2.0.50727"/>

An alternative cause could be a 3rd party module loading in Excel before the CRM module is loaded. In this situation the wrong .Net Framework version may get loaded and the CRM module cannot load.

 

To force the loading of the required version you can create an excel.exe.config file that lists only the  .Net Framework 2.0 as supported. To do this create a text file called Excel.exe.config and put it in the same directory as Excel.exe itself.

The file should contain the text below:

<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>

 

Regards,
EMEA Dynamics CRM Team