Tuesday, June 28, 2011

Plugin Set to Use Offline but Entity Offline Settings Not Configured

While attempting to deploy a solution to CRM 2011 I received the following error during the import.

image

0x80040203 - Supported deployment does not agree with message availability

After reviewing the code for the plugin I realized that it was attempting to register the plugin for both Server and Offline.

[System.ComponentModel.AmbientValue("CrmPluginStepDeployment=2")]

The problem there was that the Entity was not set for Offline mode.

offlinesettings

One the entity was updated the solution installed correctly.

2 comments:

Thabiso Motloung said...

Thank you very Richard, this sure did help me.

Deepak said...

Thanks a lot.