CRM Blog World Updated

One of the most viewed pages on my blog is still the Blog World. When Dynamics CRM wasn't called Dynamics CRM yet, I have started to gather a list of blogs which targeted this software. Over the years this list has grown and I have just updated the list with the blogs which I have been requested to add. I guess soon I'll need to do a full review of this list as I've noticed that some people have moved on and stopped blogging and new people have stepped in these gaps to fill the missing info.

For now the list is updated and available here:
CRM Blog world

Quick Yammer & CRM Demo

Most, if not all of you, know that Microsoft has acquired Yammer in June 2012. Now Microsoft has released the integration between Yammer and Dynamics CRM as part of the Polaris release (formerly known as December 2012 Service Update). However, in order to demo this, you’ll need to sign up for a Yammer Enterprise account*. If you don't have such an account, then the integration will not work as expected.

But! There is a very easy way to incorporate some of the functionality of Yammer into CRM without having a Yammer Enterprise account. You can go to any group on Yammer and incorporate the feed of that group as a web resource and include this on any page in CRM. To do this, follow these steps:

1. Go to the Yammer website
2. Create or select a group in the left column
3. In the right side click "</> Embed This Feed"
4. Copy the code
5. Create an HTML file with the copied code pasted between <html><body> and </body></html>
6. Upload the HTML file as a web resource to CRM
7. Add the web resource to a CRM form

And that's it. You now have a live Yammer feed inside CRM. Though it doesn't show the collaboration on account or opportunity level, in a demo the could be just enough. If not? Then get yourself a Yammer Enterprise account and configure the integration between both products.

It's been a while

At the moment I'm at the MVP Summit spending time with a bunch of great minds in the industry. One of the guys made me realize that it's been a while since my last post and asked if I could pick up posting blogs again. As my role has changed over time, I'm not spending too much time on coding anymore. There are a bunch of guys out there which are way more technical than I am, so I'm handing over the baton to fellow MVP's and anybody out there in the community. I do suggest you to post the challenges that you find and especially the solutions to these challenges. Your solutions will help hundreds of other users fix their problems even years after the post. Based on the feedback I got this week, I can guarantee that people will be eternally grateful!

That said, I am finding myself in many interesting scenario's which require me to think of creative solutions around CRM after all. Not around coding so much, but around solution architecture, effective demos and related items. With that, I'll start posting again items regarding these, hopefully helping you become more successful once again.


Error: Microsoft.Crm.Setup.Server.PublishDefaultDataAction

When you have uninstalled CRM and try to install this again, you might run into the following error message:

Microsoft.Crm.Setup.Server.PublishDefaultDataAction failed --->System.MissingMethodException: Method not found: 'Void Microsoft.Crm.CrmCache`1.RemoveEntry(System.String)'.

This is being caused by the fact that you have other components of CRM still installed from the previous installation. Make sure you remove all components including the SSRS connector, the Outlook client and the E-mail router. That should help you fix the problem.

Kudos go out to my colleague Alex Ries who found this solution.

For reference purposes the exact log message (can be found in %\AppData\Microsoft\MSCRM\Logs).

05:45:38|Verbose| Web Wizard import: Success
05:45:38|Verbose| Business Task import: Success
05:45:38| Info| Executing Install action: Microsoft.Crm.Setup.Server.PublishDefaultDataAction
05:45:50| Error| System.Exception: Action Microsoft.Crm.Setup.Server.PublishDefaultDataAction failed. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Crm.CrmCache`1.RemoveEntry(System.String)'.
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.RemoveEntry(Guid organizationId, TKey key, Boolean fireNotification)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.RemoveEntry(Guid organizationId, TKey key)
at Microsoft.Crm.Metadata.LabelCache.Flush(Int32 languageCode, IOrganizationContext context, CacheType cacheType)
at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationPublishDefaultData(Guid organizationId)
at Microsoft.Crm.Setup.Server.PublishDefaultDataAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1

The path is not of a legal form

While installing the Dynamics CRM Data Migration Manager on a Dynamics CRM server, you might get this error message:

The path is not of a legal form

To solve this error you should go to the registry and change the InstallLocation of the CRM server. The location is different for x86 and x64, but can easily be found by going to:


In this key you should search for the key which contains "Microsoft Dynamics CRM Server". This should bring you to a location like:


In this key you should set the value for "InstallLocation" to "C:\Program Files\Microsoft Dynamics CRM ". The installation of the Dynamics CRM Data Migration Manager will then continue.

Credits for this solution go out to the CRM community where I found this solution.

Unexpected 401 when using NetworkService in Web Service call

When you are calling any CRM Web Service and you decide to specify your own credentials by using a new instance of NetworkCredential, then you should make sure that you are not specifying the 'UseDefaultCredentials' after you have specified the Credentials. This will cause IIS to not fully understand how to authenticate. The result is that you will get this 401.2 error message: Unauthorized: Access is denied due to server configuration. Internet Information Services (IIS).

So this code causes the error message:

CrmService service = new CrmService();
service.Credentials = new System.Net.NetworkCredential("user", "pwd", "domain");
service.UseDefaultCredentials = false;
service.CrmAuthenticationTokenValue = token;

And this is how it should be:

CrmService service = new CrmService();
service.Credentials = new System.Net.NetworkCredential("user", "pwd", "domain");
service.CrmAuthenticationTokenValue = token;

Loveparade drama

For those of you who do know me a bit, you'll know that I'm a fan of the Love Parade. Every year I'm there. This year was no different in that regards, a friend, my girlfriend and myself have attend this event this years Love Parade as well. As you might have heard, there has been a dramatic incident at the party this year which caused 19 people to die and hunderds of people to get insured. I'm glad to mention that we are fine, but we are terribly sad for the people who are not.

I have no words for what has happened.