Help and Support
 

powered byLive Search
Hotfix Download Available

The workflow rules no longer run when you use the Deployment Manager Import Organization Wizard to import an organization in Microsoft Dynamics CRM 4.0

Article ID:950680
Last Review:May 13, 2008
Revision:2.4
On This Page

SYMPTOMS

In Microsoft Dynamics CRM 4.0., you disable and then delete an organization. When you use the Deployment Manager Import Organization Wizard to import an organization, the workflow rules no longer run. Additionally, the following error message is logged in the event viewer:
Received SQL Exception accessing organization {B0C47547-14B8-DC11-AFCA-0013724BA161}. Exception: Microsoft.Crm.Metadata.EntityMetadataNotFoundException: The entity with ObjectTypeCode = 0 was not found in the MetadataCache.
at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.GetEntityLogicalNameFromObjectTypeCode(Int32 objectTypeCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.GetLookup(Object objectId, String objectIdName, Int32 objectDsc, Int32 objectTypeCode)
at Microsoft.Crm.Asynchronous.QueueDataAccess.<>c__DisplayClass2.<SelectEvents>b__0(Object[] values)
at Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)
at Microsoft.Crm.Asynchronous.QueueDataAccess.SelectEvents(Int32 numberOfEvents)
If you view the AsyncOperationBase table and the BulkDeleteFailureBase table in the organization database that you imported, you notice that all values in the RegardingObjectId column are a GUID that is used for the organizationid identifier of the organization database.

Back to the top

CAUSE

This problem occurs because the AsyncOperationbase table is updated incorrectly when you import an organization.

Back to the top

RESOLUTION

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.If you have imported an organization before you apply this hotfix, you can contact Microsoft Dynamics CRM Support to obtain more information about additional steps that are required to apply this hotfix.

Back to the top

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Microsoft Dynamics CRM 4.0 server, i386-based version

File nameFile versionFile sizeDateTimePlatform
Config.xmlNot applicable28425-Apr-200812:41Not applicable
Crmupdatewrapper.exe4.0.7333.1025439,32025-Apr-200806:35x86
Crmupdatewrapper.exe.configNot applicable14823-Feb-200811:48Not applicable
Microsoft.crm.dll4.0.7333.1025918,55225-Apr-200806:30x86
Microsoft.crm.setup.common.dll4.0.7333.1025533,52825-Apr-200806:35x86
Microsoft.crm.setup.database.common.dll4.0.7333.102570,68025-Apr-200806:35x86
Microsoft.crm.setup.databaseinstaller.dll4.0.7333.102574,77625-Apr-200806:35x86
Microsoft.crm.tools.logging.dll4.0.7333.102523,06425-Apr-200806:35x86
Microsoft.windowsinstaller.dll4.0.7333.1025119,83225-Apr-200806:35x86
Server_i386.mspNot applicable1,483,77625-Apr-200812:42Not applicable
Eula.rtfNot applicable100,28723-Feb-200811:49Not applicable
Microsoft.crm.tools.admin.dmsnapinlib.dll4.0.7333.1025144,40825-Apr-200806:32x86
Microsoft.crm.tools.admin.dmsnapinlib.dll4.0.7333.1025144,40825-Apr-200806:30x86
Eula.rtfNot applicable117,48523-Feb-200811:49Not applicable
Microsoft.crm.tools.admin.dmsnapinlib.dll4.0.7333.1025144,40825-Apr-200806:32x86

Microsoft Dynamics CRM 4.0 server, x64-based version

File nameFile versionFile sizeDateTimePlatform
Config.xmlNot applicable28525-Apr-200812:41Not applicable
Crmupdatewrapper.exe4.0.7333.1025439,32025-Apr-200805:44x86
Crmupdatewrapper.exe.configNot applicable14828-Jan-200804:07Not applicable
Microsoft.crm.dll4.0.7333.1025918,55225-Apr-200805:40x86
Microsoft.crm.setup.common.dll4.0.7333.1025533,52825-Apr-200805:44x86
Microsoft.crm.setup.database.common.dll4.0.7333.102570,68025-Apr-200805:44x86
Microsoft.crm.setup.databaseinstaller.dll4.0.7333.102574,77625-Apr-200805:44x86
Microsoft.crm.tools.logging.dll4.0.7333.102523,06425-Apr-200805:44x86
Microsoft.windowsinstaller.dll4.0.7333.1025119,83225-Apr-200805:44x86
Server_amd64.mspNot applicable1,483,77625-Apr-200812:42Not applicable
Eula.rtfNot applicable100,28728-Jan-200804:07Not applicable
Microsoft.crm.tools.admin.dmsnapinlib.dll4.0.7333.1025144,40825-Apr-200805:42x86

Back to the top

Installation information

Install this hotfix on computers that are running the Microsoft Dynamics CRM 4.0 server components.

Back to the top

Prerequisites

You must have Microsoft Dynamics CRM 4.0 installed to apply this hotfix.

Back to the top

Restart requirement

If you are prompted to restart the computer, you must restart the computer after you apply this hotfix.

Back to the top

Removal information

To remove this hotfix from a computer that is running Windows Server 2003, Windows XP, or Windows 2000, use Add or Remove Programs in Control Panel.

Back to the top

MORE INFORMATION

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/)Description of the standard terminology that is used to describe Microsoft software updates
887283 (http://support.microsoft.com/kb/887283/) Microsoft Business Solutions CRM software hotfix and update package naming standards

Back to the top


APPLIES TO
Microsoft Dynamics CRM 4.0

Back to the top

Keywords: 
kbautohotfix kbexpertiseinter kbmbsmigrate kbqfe kbhotfixserver kberrmsg KB950680

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.