Wednesday, January 11, 2012

CRM 2011 - Plugin Error System.InvalidCastException: Unable to cast object of type 'xxxx' to type 'Microsoft.Crm.Sdk.IPlugin'.

This error occurs when in your plug-in have an reference code conflict to the Microsoft Dynamics CRM SDK 4.0 . In order to solve this issue you need to remove all  Microsoft Dynamics CRM 4.0 conflicts!


Nicola Grillo

2 comments:

  1. Hi Nicola, We were facing the same issue with one of our upgraded solutions. It seemed to be resolved after changing some settings in the Web.config of CRM 2011.

    More details can be found here:
    http://kennyvaes.wordpress.com/2012/04/10/unable-to-cast-object-of-type-xxxx-to-type-microsoft-crm-sdk-iplugin/

    ReplyDelete