Microsoft KB Archive/906871

From BetaArchive Wiki

Article ID: 906871

Article Last Modified on 9/8/2006



APPLIES TO

  • Microsoft CRM Software Development Kit, when used with:
    • Microsoft CRM 1.2
  • Microsoft CRM 1.2




SYMPTOMS

On a computer that is running Microsoft CRM 1.2, you run a program that calls one or more of the following classes:

  • CRMQuote
  • CRMSalesOrder
  • CRMInvoice
  • CRMContract

If the Create method is used when the program calls any one of those classes, the following error message is logged in the Application log:

SOAP Server Application Faulted

Error code: 80040e2f
Description: The statement has been terminated.
Source: System.Web.ServicesThread
Name: WorkerXXX

CAUSE

This problem may occur when the program calls the Create method repeatedly on multiple threads. When the Create method is used with a class, the Create method creates several other methods to create the corresponding records. These methods are shown in the following table.

Method Record
CRMQuote.Create Quote
CRMSalesOrder.Create Order
CRMInvoice.Create Invoice
CRMContract.Create Contract

The Create method creates other methods. One of these other methods is used to create a random number. When this method is put under stress, the random number generator may produce a duplicate number. For example, repeatedly calling the CRMInvoice.Create method on multiple threads puts the method under stress. If the program tries to insert the duplicate invoice number into the InvoiceBase table, the program quits, and the error message is logged.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem.

To resolve this problem immediately, contact Microsoft Business Solutions Technical Support to obtain the hotfix. You can log on to the Microsoft Business Solutions Support site and create a new support request. To do this, visit the following Microsoft Web site:

You can also contact Microsoft Business Solutions Technical Support by telephone at (888) 477-7877.

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

Installation information

Install this update on computers that are running Microsoft CRM 1.2 Server.

Prerequisites

To install this update, you must have installed Microsoft CRM version 1.2.

Removal information

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

If you are a system administrator, you can use the Spunist.exe utility to remove this hotfix from a computer that is running Microsoft Windows 2000, Windows XP, or Windows Server 2003. The Spuninst.exe utility is located in the following folder.

%Windir%\$NTUninstallKB898551$\Spuninst


For more information about package installer parameters, see the following article in the Microsoft Knowledge Base:

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


Restart requirement

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

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 tool in Control Panel.

   Date         Time   Version       Size       File name
   ---------------------------------------------------------------------------------------------
   15-Sep-2005  18:47  1.2.3297.197    756,448  Activities.dll   
   14-Sep-2005  23:46                    7,166  Alllookups.xml
   15-Sep-2005  18:47  1.2.3297.197    453,360  Attachmenthandler.dll  
   15-Sep-2005  18:48  1.2.3297.197    895,720  Communications.dll  
   15-Sep-2005  18:47  1.2.3297.197    797,408  Contract.dll     
   15-Sep-2005  18:47  1.2.3297.197    600,816  Crmrichclientsync.dll  
   15-Sep-2005  18:48  1.2.3297.197  1,125,104  Crmworkflowservice.exe  
   15-Sep-2005  18:47  1.2.3297.197    920,296  Customerservice.dll  
   14-Sep-2005  23:46                   17,409  Edit.aspx
   15-Sep-2005  18:40  1.2.3297.197    109,352  Microsoft.crm.application.components.platform.dll  
   15-Sep-2005  18:49  1.2.3297.197  1,235,680  Products.dll     
   15-Sep-2005  18:48  1.2.3297.197  1,116,880  Sfa.dll          
   15-Sep-2005  16:49  1.2.3297.197  1,149,664  Workflow.dll

MORE INFORMATION

For more information about the terminology that is used to describe Microsoft product updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:

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


824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates



Additional query words: crm12 crm1.2

Keywords: kbmbsmigrate kbpubtypekc kbqfe kbhotfixserver KB906871