Microsoft KB Archive/835319

= You receive an error message when you try to assign Microsoft CRM records to a valid user account after the original user account has been deleted from Active Directory =

Article ID: 835319

Article Last Modified on 12/20/2005

-

APPLIES TO


 * Microsoft CRM 1.2
 * Microsoft Business Solutions CRM 1.0

-



SYMPTOMS
In Microsoft Business Solutions CRM 1.0 and 1.2, if you try to assign records from the original user account to another user account and the original user account has already been deleted from Active Directory®, you may receive the following error message:

There were errors with performing the selected action on one or more of the records.

You might also receive the following error messages:

There is no such object on the server.

No such object on the server.

The selected object could not be found. Verify that the object exists in both the database and Active Directory.



CAUSE
Microsoft CRM verifies whether a Microsoft CRM user account is a valid user account in Active Directory before allowing a Microsoft CRM administrator or a Microsoft CRM manager (and in some cases, a domain administrator) to assign the records from this user account to another user account. If an employee has left the company, and his or her user account has been deleted from Active Directory, all Microsoft CRM records of this employee still exist. However, you cannot assign these records to another Microsoft CRM user account.



RESOLUTION
Microsoft CRM has a fix for this problem that is part of a cumulative update. The cumulative update information is described in the following Microsoft Knowledge Base article:

904435 Update Rollup 2 is available for Microsoft CRM 1.2





File information for Microsoft CRM 1.0
The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.   Date         Time   Version       Size       File name 30-Mar-2004 15:18  1.0.3017.101    731,856  Activities.dll 19-Mar-2004 15:18  1.0.3017.101    432,864  AttachmentHandler.dll 23-Jan-2004 16:10  1.0.3017.102    473,816  Bizprivilege.dll 30-Mar-2004 15:18  1.0.3017.101    772,816  Contract.dll 23-Jan-2004 16:10  1.0.3017.101     60,120  CRMerrors.dll 19-Mar-2004 15:18  1.0.3017.101    883,416  CustomerService.dll 02-Mar-2004 16:29  1.0.3017.102    178,904  Microsoft.CRM.AppComponents.dll 30-Mar-2004 15:18  1.0.3017.103  1,178,320  Products.dll 30-Mar-2004 15:18  1.0.3017.101  1,002,176  Sfa.dll

Microsoft Business Solutions CRM 1.2
Microsoft CRM 1.2 has a fix for this problem that is part of a cumulative update. The cumulative update information is described in the following Microsoft Knowledge Base article:

892949 Update rollup 1 is available for Microsoft CRM Sales for Outlook 1.2

This is scheduled to be included in Microsoft Business Solutions CRM 2.0

Additional manual steps
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

After you apply either the Microsoft CRM 1.0 hotfix or Microsoft CRM 1.2 update, follow these steps:  On the Microsoft CRM server, add a Dword value. To do this, follow these steps:  Click Start, and then click Run. In the Open box, type regedit, and then click OK. In Registry Editor, locate and then click the following subkey:

 

 Select MSCRM. On the Edit menu, point to New, and then click DWORD Value.</li> Type IgnoreSDUserError for the name of this new registry key.</li> Double-click IgnoreSDUserError, and then type 1 for the value data.</li> Click OK, and then close Registry Editor.</li></ol> </li> Restart Microsoft Internet Information Services (IIS). To do this, type iisreset at a command prompt, and then press ENTER.</li> In a Web browser, log on to your Microsoft CRM server as a Microsoft CRM System Administrator or as a Microsoft CRM manager.</li> Locate the records that have been assigned to the deleted user account. To do this, follow these steps. Note The person who reassigns the records must have domain administrative credentials in the domain that contains the Microsoft CRM server and Organizational Unit. <ol style="list-style-type: lower-alpha;"> In Microsoft CRM, on the Tools menu, click Advanced Find.</li> In the Find in list, click Accounts.</li> In the Field column, click Owner in the list.</li> In the Condition column, click Equals in the list.</li> In the Value column, click the Lookup icon.</li> Click Go.</li> Double-click the account name of the user account that has been deleted from Active Directory to move this account to the Selected Records box.</li> Click OK, and then click Go. All the records that have been assigned to the deleted user account appear in the query results.</li></ol> </li> Click the check box for the Account Name field to select all the records that you located in step 4h.</li> Click Actions, and then click Assign.</li> <li>To assign the records to another user account, use one of the following methods: <ul> <li>To assign the records to your user account, click Assign to me, and then click OK.</li> <li>To assign the records to a user account other than your own, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Assign to another user.</li> <li>Click the Lookup icon.</li> <li>In the Look Up Records form, click Go.</li> <li>Select the user account that you want to assign the records to, and then click OK twice.</li></ol> </li></ul> </li> <li>To assign records that are in other Microsoft CRM objects, repeat steps 4 through 7 for each object. In step 4b, select the Microsoft CRM object name in the Find in list. You can reassign records in the following Microsoft CRM objects: <ul> <li>Case</li> <li>Contact</li> <li>Contract</li> <li>Invoice</li> <li>Lead</li> <li>Opportunity</li> <li>Order</li> <li>Quote</li></ul>

Note You do not have to reassign records in the following Microsoft CRM objects because these objects do not have an Owner field: <ul> <li>Activities</li> <li>Competitors</li> <li>Products</li> <li>Sales Literature</li> <li>Users</li></ul> </li> <li>When you have finished reassigning records, change the value of the registry key that you created in step 1. To do this, follow these steps on the Microsoft CRM server: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In Registry Editor, locate and then click the following subkey:

 

</li> <li>Double-click IgnoreSDUserError, and then type 0 for the value data.</li> <li>Click OK, and then close Registry Editor</li></ol> </li></ol>

Keywords: kbbug kbfix kbqfe kbmbsmigrate kbhotfixserver KB835319

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.