Microsoft CRM Update Rollup...in action

Posted by Mike Snyder on December 6, 2006  |  commentsComments (13)

Ok, so everybody and their brother has blogged about the Microsoft CRM Update Rollup released last week so we won't rehash the same old same old information. Instead we'll share some new information about the rollup. We installed the rollup on our internal production CRM system that we use for our sales and operations, and we wanted to share our experience.

The install went in just fine with no errors, but the next day when we tried to create a custom attribute we received an error. The user interface gave us the always wonderful "Contact your System Administrator" but the trace file showed the following:

>MSCRM Application Error Report:
--------------------------------------------------------------------------------------------------------
Error: Method not found: Void Microsoft.Crm.Metadata.AttributeInfo.set_Searchable(Boolean).
Error Message: Method not found: Void Microsoft.Crm.Metadata.AttributeInfo.set_Searchable(Boolean).
Source File: Not available
Line Number: Not available
Request URL: http://grapevine/AppWebServices/SystemCustomization.asmx
Stack Trace Info:    at Microsoft.Crm.Application.WebServices.SystemCustomization.AttributeCreate.GetAttributeInfo(ParameterBag paramBag, AttributeMetadata attributeMD, DynamicMetadataCache mdChache)
>   at Microsoft.Crm.Application.WebServices.SystemCustomization.AttributeCreate.Execute(User user, ParameterBag paramBag)
>   at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.CreateAttribute(XmlNode data)
Type: Application

We contacted Microsoft technical support and they said:

That error is most often caused by the Microsoft.Crm.MetadataService.dll not being loaded in the Microsoft .Net Global Assembly Cache. Please complete the steps below to load the .dll file.
a.  On the CRM server go to the directory of the Microsoft.Net Framework v1.1.4322 and locate the utility gacutil.exe  
b.  Then go to the system drive, Program Files, Microsoft CRM, CRMWeb, bin and locate the following .dll file "Microsoft.Crm.MetadataService.dll"  
c.  Finally run the below command, make the necessary changes according to your system file directory:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>gacutil /i "C:\Program Files\Microsoft CRM\CRMWeb\bin\Microsoft.Crm.MetadataService.dll"
 d.  Below is expected result after running the command:
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002.
All rights reserved. Assembly successfully added to the cache  
e.  From the command prompt run IISRESET  
f.  Finally try to create or update an attributes from the CRM web application.

This was kinda weird and unexpected behavior, and we're not even 100% confident that it was caused the rollup installation. Regardless, we followed the steps to add the MetadataService.dll into the Microsoft .Net Global Assembly Cache (abbreviated and pronounced as "GACK") and now we're able to add custom attributes again!

Comments

  1. Thanks Mike, We haven't yet installed update rollup 1. But we've been experiencing this issue since installing one of the hotfixes on our own production server too. I'm going to try your resolution when I'm back in the office -- thanks for posting.

    Posted by: Neil Benson  |  Dec 13, 2006 4:21:00 AM

  2. Thanks for posting this fix. We've been experiencing the same issue after installing the rollup 1. Fixed now.

    Posted by: Kevin Collins  |  Dec 13, 2006 5:37:27 PM

  3. Glad we could help!

    Posted by: Mike Snyder  |  Dec 13, 2006 8:58:44 PM

  4. this is a great post. i didnt think it was going to work but it did thanks a lot

    Posted by: matt beaumont  |  Dec 18, 2006 3:52:03 PM

  5. Excellent info - Thank you very much for this. It has been causing me and my team plenty of grief. I am not sure why this did not make it into the MS KB - it sure as hell should be.

    Thanks again
    Pei

    Posted by: PM Lim  |  Jan 9, 2007 4:26:41 AM

  6. Confirmed.
    Fix worked fine after the Update rollup
    Many Thanks
    /Patrice

    Posted by: Patrice Mariet  |  Jan 11, 2007 8:09:50 AM

  7. Thank you for posting this issue. We also experienced this after applying the rollup. Your posted solution worked perfect.

    Regards,
    Erik

    Posted by: Erik Broberg  |  Jan 16, 2007 10:48:27 AM

  8. Issue is definitely caused by the rollup and what a relief to find your fix! Thanks!

    Posted by: Egbert Brouwer  |  Jan 18, 2007 10:29:04 AM

  9. Thanks for posting this. I experienced excatly the same issue and your post fix my problem (even if my dll file was located in a different folder).
    Many thanks to Mike
    Christophe

    Posted by: Christophe Lambert  |  Jan 18, 2007 1:07:54 PM

  10. This solution worked for us as well, it looks like the issue was a side effect of the roll-up.

    Updates are working now

    Posted by: Ali M. Gurcay  |  Jan 22, 2007 4:14:10 PM

  11. Thank God. I found this posting in the very first 2 hours of my search when this issue surfaced.This solution worked for us as well, it looks like the issue was a side effect of the roll-up.

    Posted by: kSk  |  Mar 23, 2007 1:34:57 PM

  12. Hi,

    I am using CRM 3.0 web service ,i want to search knowledge base that contain the specified article number.I found in CRM SDK3.0 folowing methods
    SearchByBodyKbArticle,SearchByTitleKbArticle and SearchByKeywordsKbArticle

    But i am not got any SearchByNumberKbArticle.Please give me a advise to solve this problem

    Posted by: Shajahan  |  Mar 26, 2008 11:50:28 PM

  13. Hi,

    I have been facing the problem during creation of custom entities post installation of the Rollup 2 on the CRM server (CRM 3.0).

    Can it be solved using the above approach or do I have to install some other hotfix?
    I have already applied the HOTFIX KB936204. But no success.
    Please let me know.

    Posted by: Paul  |  Jun 18, 2009 11:47:54 PM

Post a Comment

  • *Required

Contact Us for a Quote, or Personalized Demonstrationof Microsoft Dynamics CRM for Your Business.

Contact Us