Wednesday, February 15, 2012

Error when updating a plugin in CRM 2011

When you try to update a plugin assembly you sometimes get an error saying the plugin assembly cannot be updated, the manifest of the plugin….etc…


This most probably could be that you are trying to update the assembly which is in the database. However the same plugin could have been registered in the GAC. Till you take the plugin out of the GAC you will not be able to update the plugin.

Once you have taken it out the plugin assembly would get updated without any issues.

Ignore Blank Values and Inactive Records in Duplicate Detection

This has been an issue, but with CRM roll up 5 this has been rectified.
If you want to do this and it’s not in your CRM 2011 then please check the roll up version. Only with CRM roll up version 5 this comes. However this roll up cannot be uninstalled.

Information about update roll up 5.


You can download the roll up version 5 from here.


Passing invalid characters with OData queries

Sometimes we face the issue of Odata query not working for some of the data, but for some data it is working fine. When we search a bit more we can find that there is an invalid character in a value which we are passing.

These characters have to be replaced before sending.

There is a good post in Microsoft which states how to do it.

However the’ sign has not been included in this. For this character we have to pass it twice (’’) to work.


Copying a workflow in CRM 2011?

Is this possible? The answer to this is yes. There is a way to do this. You need to un publish the workflow and change the type as process template from process.

Then you will be able to create a process using this template. This is really helpful as there are workflows which we have create with a lot of lines. Rather than doing it from the scratch which is a tedious task we can do it like above.

A very good example of this is given in the following site. This has been done for CRM 4.0, but same can be done with CRM 2011.

Thursday, December 8, 2011

CRM 2011 Error - This workflow cannot be created, updated or published because it was created outside the Microsoft Dynamics CRM Web application. Your organization does not allow this type of workflow.

When you try to import your solution using a program you have written and when you use Powershell you might get this error.

This is because by default, XAML workflows are not enabled in the server. You need to enable them in the server before you can deploy XAML workflows. If you attempt to import without enabling then you will get the above error.

You can find out how to do this in the below URL.



Wednesday, November 30, 2011

CRM 2011 - How to check which roll up has been installed


You can find this from below method.

Go to File -> Help -> About Microsoft dynamics CRM

When you click on this you would get a number. Type that in Google and you would find the roll up number.

Roll up 1 – 5.0.9688.1045
Roll up 2 – 5.0.9688.1157
Roll up 3 – 5.0.9688.1244
Roll up 4 - 5.0.9688.1450
Roll up 5 - 5.0.9688.1533

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...