Microsoft KB Archive/921235

From BetaArchive Wiki

Article ID: 921235

Article Last Modified on 7/6/2007



APPLIES TO

  • Microsoft Dynamics CRM 3.0
  • Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers



The hotfix that is discussed in this article is not available for the Chinese version of Microsoft Dynamics CRM or for the Japanese version of Microsoft Dynamics CRM.

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

When you reassign records from one user to another user in Microsoft Dynamics CRM 3.0, you experience one of the following problems:

  • You experience timeouts.
  • You experience slow performance. When the records are being reassigned, Microsoft Dynamics CRM takes a long time to open the Microsoft Dynamics CRM forms.

Additionally, if you use System Monitor on a computer that is running Microsoft SQL Server, the performance counters show that the reassignment process causes high CPU usage and many SQL Server locks.

This problem occurs if you reassign many records from one user to another user. For example, this problem may occur if you use the Bulk Reassign functionality to assign the records.

RESOLUTION

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

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

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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 3.0 server

File name File version File size Date Time
Crmmsg.dll 1.2.3297.123 16,088 26-May-2006 10:18
Mscrmcustom.dll 3.0.5300.1283 171,824 07-Sep-2006 10:26
Mscrmfastreassign.exe 3.0.5300.1293 72,504 20-Sep-2006 06:18
Crmhotfix.cdf Not applicable 985 20-Sep-2006 06:23
Mscrmcustom.dll 3.0.5300.1283 171,824 07-Sep-2006 10:26

Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers

File name File version File size Date Time Hashes Platform
Mscrmfastreassign.exe 3.0.5300.1293 72,504 20-Sep-2006 06:18 MD5: B70A57F722F4FC45652597B40D3B5590

SHA1: 234DBAB6F0BF65E7EA55BD271A38A9BE0CA8B1B2

x86

Installation information

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

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note If the default values are small, you may have to create or change the OleDbTimeout value and the ExtendedTimeout value. Then, the MSCRMFastReassign.exe tool can process all the records. To do this, follow these steps.

Create or change the OleDbTimeout value

  1. In Registry Editor, locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM

  2. Double-click the OleDbTimeout value.

    Note If the OleDbTimeout value does not exist, create an OleDbTimeout value. To do this, follow these steps:
    1. Right-click MSCRM, point to New, and then click DWORD value.
    2. Type OleDbTimeout.
  3. In the Edit DWORD Value dialog box, click Decimal, type 600 in the Value data field, and then click OK.

    Note The value of 600 represents 600 seconds. By default, the value is 30 seconds.

Create or change the ExtendedTimeout value

  1. In Registry Editor, locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM

  2. Double-click the ExtendedTimeout value.

    Note If the ExtendedTimeout value does not exist, create an ExtendedTimeout value. To do this, follow these steps:
    1. Right-click MSCRM, point to New, and then click DWORD value.
    2. Type ExtendedTimeout.
  3. In the Edit DWORD Value dialog box, click Decimal, type 5400000 in the Value data field, and then click OK.

    Note The value of 5400000 represents 5,400 seconds. By default, the value is 900 seconds.

To install this hotfix, follow these steps:

  1. Move the MSCRMFastReassign.exe file to the following folder:

    C:\Program Files\Microsoft CRM\Tools

  2. Log on to the Microsoft Dynamics CRM server as a user who has the Administrator role.
  3. Run the MSCRMFastReassign.exe file.
  4. In the Entity Reassignment Tool dialog box, select the user in the Current User list from whom you want to reassign the records.
  5. In the New User list, select the user to whom you want to reassign the records.
  6. Click Reassign.

    Note You cannot undo this action.

After you finish the reassignment process, you receive the following message:

You have successfully reassigned all entities to the new user.
Previous User: User1
New User: User 2

Notes

  • The User1 placeholder represents the actual user who you select in the Current User list.
  • The User2 placeholder represents the actual user who you select in the New User list.
  • The tool may take 90 minutes or longer to reassign 900,000 records or more records, depending on the performance of the Microsoft Dynamics CRM server and the Microsoft SQL Server that are used.
  • To determine the number of records that a user has, you must run a query against the Microsoft Dynamics CRM database in SQL Query Analyzer or in SQL Server Management Studio. You must run the query as a Microsoft Dynamics CRM Administrator, because the records that are displayed depend on which records the user has access to or has the visibility to see. If you want to see the records that are owned by the user for other entities, you must change FilteredContact to Filtered_EntityName. EntityName is the name of the other entity, such as FilteredAccount. This query estimates how long it will take the MSCRMFastReassign.exe tool to assign records from one Microsoft Dynamics CRM user to another Microsoft Dynamics CRM user. If accurate estimates of the time to run this tool are required, you should run this tool in a test deployment that contains a copy of the Microsoft Dynamics CRM production databases on similar hardware. To determine the number of records that a user has, run the following query against the Microsoft Dynamics CRM database in SQL Query Analyzer or in SQL Server Management Studio, as a Microsoft Dynamics CRM Administrator.

    SELECT OwnerIdName, count(*) as 'RecordCount'
    FROM FilteredContact
    GROUP BY OwnerIdName
    ORDER BY 'RecordCount'

Prerequisites

No prerequisites are required to apply this hotfix.

Restart requirement

If you are prompted, restart the computer after you install the hotfix.

Removal information

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

System administrators can use the Spuninst.exe tool to remove this hotfix from a computer that is running Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000.

The Spuninst.exe tool is located in the %Windir%\$NTUninstallKB921235$\Spuninst folder. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

832475 Description of the new features in the package installer for Windows software updates


MORE INFORMATION

For information about performance tuning for CRM 3.0, click the following link to see the "Optimizing the Performance of Microsoft Dynamics CRM 3.0 White Paper" white paper:

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 Description of the standard terminology that is used to describe Microsoft software updates


887283 Microsoft Business Solutions CRM software hotfix and update package naming standards


Keywords: kbmbsadministration kbhotfixserver kbqfe kbmbsmigrate kbpubtypekc KB921235