Microsoft KB Archive/889577

= You may receive a &quot;Not able to support the requested monetary precision&quot; error message in Commerce Server 2002 =

Article ID: 889577

Article Last Modified on 2/11/2005

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition

-





SYMPTOMS
If you set the Supply the number of decimal places used for currency rounding property in the Pipe Properties dialog box to a value that is larger than 4 in Microsoft Commerce Server 2002, you may receive an error message that is similar to the following:

Commerce.MtsPipeline (0x80004005)

Component Execution failed for component[0x1] hr: 0x80004005

ProgID: Commerce.ShippingMethodRouter.1

Error: Not able to support the requested monetary precision (order.value &quot;_currency_decimal_places&quot;) must be between-3 and 4)

(orderform=default) /directory/include/std_pipeline_lib.asp, line 143



CAUSE
This problem occurs if the Supply the number of decimal places used for currency rounding property is set to a value that is larger than 4.



RESOLUTION
To resolve this problem, modify the Supply the number of decimal places used for currency rounding property to a value that is less than 5. To do this, follow these steps:
 * 1) Start the Pipeline Editor, and then open the Pipeline .pcf file.
 * 2) On the Edit menu, click Properties.
 * 3) Click the Pipe Properties tab, enter the number of decimal places in the drop-down list in the Currency Mode section, and then click OK.



MORE INFORMATION
In the Pipeline Properties dialog box, you can modify the number of decimal places to be used for currency rounding by using the Supply the number of decimal places used for currency rounding property. This property determines how many digits of precision are held by a currency. For example, two digits are held for United States pennies. This value is used for default rounding processing and to determine the scaling factor that is used in legacy currency keys. This property is active only if the Currency (high precision) setting is specified for Currency mode on the pipeline.

Keywords: kbtshoot kbprb KB889577

-

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

© Microsoft Corporation. All rights reserved.