Complicated Discount Expressions Become Unstable (307722)



The information in this article applies to:

  • Microsoft Commerce Server 2000 SP1

This article was previously published under Q307722

SYMPTOMS

Discounts that have an expression with a large number of conditions to evaluate may cause errors such as the following in the site:
Error Type:
Commerce.OrderPipeline (0x8007000E)
Component Execution failed for component[0x4] hr: 0x8007000E ProgID: Commerce.CSFScoreDiscounts.1 Ran out of memory.
/mysite/template/discount.asp, line 312
-or-
Commerce.orderpipeline (0x8007000e) Component execution failed for component [0x4] hr: 0x8007000e progid: commerce.csf scorediscounts.1 ran out of memory

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack

The English version of this fix should have the following file attributes or later:
   Date         Time   Version     Size     File name
   ------------------------------------------------------
   Sep-12-2001  23:15  4.0.0.2089  127,248  Exprarch.dll
				

WORKAROUND

To work around this problem, reduce the number of OR clauses in the discount expression.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Commerce Server 2000. This problem was first corrected in Commerce Server 2000 Service Pack 2.

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbCommServ2000preSP2fix kbCommServ2000SP2fix kbfix KB307722