Microsoft KB Archive/934690

From BetaArchive Wiki

Article ID: 934690

Article Last Modified on 8/15/2007



APPLIES TO

  • Microsoft Dynamics CRM 3.0



SYMPTOMS

When you save or update an entity or an attribute in Microsoft Dynamics CRM 3.0, you receive the following error message:

An error has occurred. For more information, contact your system administrator.

Additionally, if platform tracing is enabled, information that resembles the following information is logged in the trace log file:

[2006-06-26 11:32:59.8] Process: w3wp |Thread: 3672 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
>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://localhost:5555/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.EntityCreate.Execute(User user, ParameterBag paramBag)

This problem may occur after you install a Microsoft Dynamics CRM hotfix or Update Rollup 1 for Microsoft Dynamics CRM 3.0.

CAUSE

This problem occurs when one or more of the following conditions are true:

  • Additional steps were not completed after you installed a Microsoft Dynamics CRM hotfix or Update Rollup 1 for Microsoft Dynamics CRM 3.0.
  • The default Microsoft CRM System Customizer role was removed or edited.


RESOLUTION

To resolve this problem, follow these steps.

Delete the Microsoft.crm.MetadataService.dll file from the global assembly cache (GAC)

  1. On the Microsoft Dynamics CRM server, click Start, point to All Programs, point to Administrative Tools, and then click Microsoft .NET Framework 1.1 Configuration.
  2. In the navigation pane, click Assembly Cache.
  3. Click View List of Assemblies in the Assembly Cache.
  4. Right-click the Microsoft.crm.MetadataService assembly, and then click Delete.
  5. Click Start, click Run, type iisreset, and then click OK.

Edit the Web.config file to remove the text that adds the Microsoft.crm.MetadataService.dll file to the GAC

Note In Microsoft Dynamics CRM 3.0, you do not have to add the Microsoft.crm.MetadataService.dll file to the GAC. However, some third-party applications load this file into the GAC. This may cause the problem that is mentioned in the "Symptoms" section. If you follow these steps, customizations will still work even if you do not add the Microsoft.crm.MetadataService.dll file to the GAC.

  1. On the Microsoft Dynamics CRM server, back up the Web.config file. Save the backup copy of the file to a different folder.

    Note The Web.config file is located in the main Microsoft CRM Web folder.
  2. Right-click the Web.config file, click Open With, and then click Notepad.
  3. Delete the following text.

    <add assembly="Microsoft.Crm.MetadataService, Version=3.0.5300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  4. On the File menu, click Save.
  5. Click Start, click Run, type iisreset, and then click OK.

Re-create the default System Customizer role

When a custom entity is created, Microsoft Dynamics CRM automatically grants the System Customizer role access to the new entity. If you delete or edit the System Customizer role, you receive the error message that is mentioned in the "Symptoms" section.

To resolve this problem immediately, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

922815 Update Rollup 1 for Microsoft Dynamics CRM 3.0 is available



Additional query words: picklist crm30 crm3.0 crm import

Keywords: kbmbscustomization kberrmsg kbtshoot kbmbsmigrate kbprb KB934690