Plug-in assembly does not contain the required types or assembly content cannot be updated.

I was getting above error for my plugin. Figured out that the plugin was referring to some dlls (custom helper classes).

So putting those dll’s in the

Microsoft Dynamics CRM\CRMWeb\bin folder resolved the error.

Hope it helps.

Adding a button to Document Locations Tab in CRM 2011

After we have configured SharePoint List Component for CRM 2011, and enabled it for the entities, we will have a “documents” link on the left navigation pane of the record. The ribbon will have two buttons Add Location and Edit Location over there.

If we need to add our own button over there, we need to make changes to the “Application Ribbons” in our solution file.

The final output

And the RibbonDiffXML for that

<CustomAction Id="AMS_DocumentButton" Location="Mscrm.DocumentsTab.Locations.Controls._children" Sequence="30">
LabelText="My First Button"
ToolTipTitle="My First Button Tool Tip Title"
ToolTipDescription="My First Button Tool Tip Description"
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
<CommandDefinition Id="Cmd_JavaScript">
<TabDisplayRules />
<DisplayRules />
<EnableRules />
<LocLabels />

Hope it helps.

value cannot be null. parameter name value error in CRM 2011

I was getting the above error while trying to create a SharePointDocumentLocation programmatically. However I was able to create an incident record without any issue.

As it turned out, this is what I was missing

OrganizationServiceProxy orgService = new

OrganizationServiceProxy(organizationUri, homeRealmUri, credentials, null);


Hope it helps!

Charts in CRM 2011

Only a few days back I realized that it is so easy to convert our 2-d charts to 3-d in CRM 2011.

Steps are as following:-

Open the chart we want to convert to 3-d.

Suppose this is our chart

Select the Export Chart button from the Ribbon

In the exported xml for the chart add the following line (Area3DStyle), before the closing tag of ChartArea.


<Area3DStyle Enable3D=”True” />



Using Import Chart option import it back, this is how now it is gonna look like

One more thing we  can also add filter criteria to the fetch used in Chart’s xml.

Do check out these wonderful posts

Hope it helps.

Send mail to a custom entity in CRM 2011

In CRM 4, to send a mail to a custom entity we used to create a new email attribute for that entity and then had to write a custom workflow activity or plugin for sending mail or some complex logic.

Good news is that in CRM 2011 we have a new feature to Send e-mail for custom entities.

Just need to enable that option in Entity Customization form. It will create a new email field for that entity or will use an existing email field if it is already there.


Fxied – Reporting error. Report cannot be displayed. (rsProcessingAborted)

I was getting the above error while running one of the custom SSRS report inside CRM 2011.

To resolve this issue I had to follow these steps

  1. Start SQL Server Management Studio
  2. Expand Security, then expand Logins
  3. Select and right click the account under which the SQL Server Reporting Services is running.
  4. Select User Mapping and select YouOrg_MSCRM database and specify following role membership
  • CRMReaderRole,
  • db_owner
  • public.

Hope it helps.

%d bloggers like this: