DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 979483 - Last Review: February 11, 2010 - Revision: 1.1

SYMPTOMS

Consider the following scenario in Microsoft Dynamics CRM 4.0. You create subject A and subject B. Then, you set subject A as the parent subject of subject B. Next, you delete subject A. In this scenario, the link between subject A and subject B is not deleted. Similarly, if you try to remove a relationship between two entities that have the same type, such as accounts, the relationship is not removed.

You will receive the following error in the CRM platform trace:
Crm Exception: Message: The value of Primary Key Attribute: customerrelationshipid is not set, ErrorCode:-2147220989, InneException:System.ArgumentException: The value of Pimary Key Attribute: customerrelationshipid is not set

Error: Exception had been thrown by the target of an invocation.
Error Number: 0x80040203
Error Message: The value of Primary Key Attribute: customerrelationshipid is not set
Error Details: The value of Primary Key Attribute: customerrelationshipid is not set
Source File: Not available
Line Number: Not available
Request URL: http://localhostvo-slsx/sfa/customerrelationships/edit.aspx?id={FD487E19-B9E1-DE11-9456-00101858BE92}&_CreateFromType=1&_CreateFromId={B54DCA9C-12E1-DE11-9456-00101858BE92}
Stack Trace Info: [ArgumentException: The value of Primary Key Attribute: customerrelationshipid is not set]


You may also receive one of the following Event Viewer errors:
Error: Deletion Service failed to clean up table=WorkflowBase

or
Error: Deletion Service failed to clean up table=ContactBase

RESOLUTION

This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256  (http://support.microsoft.com/kb/949256/ ) Microsoft Dynamics CRM 4.0 updates and hotfixes


This problem was originally fixed in Update Rollup 9 for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
977650  (http://support.microsoft.com/kb/949256/ ) Update Rollup 9 for Microsoft Dynamics CRM is available

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

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

APPLIES TO
  • Microsoft Dynamics CRM 4.0
Keywords: 
kbexpertiseinter kbfix kbsurveynew kbmbsmigrate kbqfe KB979483
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support