Monday, October 22, 2012

Microsoft.Crm.LocatorService Exception when Installing UR10 or UR11 on Client

When installing update Rollup 10 or Rollup 11 for your Microsoft Outlook CRM Client, you can come across this error:

“The type initializer for 'Microsoft.Crm.LocatorService' threw an exception.
Cannot load Counter Name data because an invalid index '' was read from the registry.”


This is not a bug in the rollups, it’s the pointers to the performance counters that are corrupted on your computer and they must be rebuilt.

Step-By-Step

1. Go to Start, write ”cmd”.

2. Right click on cmd.exe and choose ‘Run as administrator’.

3. Write “lodctr /r” and press enter.

image

You will then get the message ‘Info: Successfully rebuilt performance counter setting from system backup store’.

4. Check if there are providers that are disabled, write “lodctr /q” and press enter

image

5. You will then get a long list of providers, make sure that the [CRM Client] is Enabled, se below

image

If not, write “lodctr /e:CRM Client” and press enter.

image

6. Install the Outlook client rollup, 10(v2) or 11.

Done.

13 comments:

  1. You, my friend, are a frakin' genius! worked like a champ. Thank you so much!!!

    ReplyDelete
  2. I just had this problem with CU13 - thanks so very much for the easy fix :)

    ReplyDelete
  3. In my case the output of “lodctr /q” does not have a [CRM Client] entry. I entered the “lodctr /e:CRM Client” command and it installed with no problem. However, the Dynamics add-in in Outlook still does not work

    ReplyDelete
  4. Perfect fix - applied to Update Rollup 15 as well (naturally, since it's not actually a problem with the UR).

    Cheers
    Brian

    ReplyDelete
  5. PPO is often a Medical insurance choice with the productive workers with Ga who want to have the overall flexibility of having health products and services via with and also out of network suppliers. Some great benefits of PPO programs tend to be as follows.Kyäni

    ReplyDelete
  6. Many thanks for this post - it helped us get the Dynamics CRM 2015 version 7 patch installed, the -2 error was driving us mad!
    (Note: also listed as MS KB here: https://support.microsoft.com/en-us/kb/2832079

    ReplyDelete
  7. Looking for the custom CRM application development? Kanhasoft is the right place for custom CRM development services. Customer satisfaction is the keypoint of any business. Streamline all kind of customer related activities with CRM solution. Visit our site to know more.

    ReplyDelete
  8. Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. upplevelser

    ReplyDelete
  9. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. FXGM Sverige

    ReplyDelete