PRB: SaveReceipt Pipeline Component Does Not Work with Commerce Server 2000 (298525)



The information in this article applies to:

  • Microsoft Commerce Server 2000

This article was previously published under Q298525

SYMPTOMS

After you add the SaveReceipt component to the checkout pipeline (checkout.pcf), when you restart your Web server and attempt a purchase, the following error message occurs in the browser:
commerce.mtxtxpipeline component execution failed prog id commerce.savereceipt.1

dictionary error value for key receipt storage in dictionary context missing expected a variant of type 9
The following event is also recorded in the Application Event Log:
Event ID 4104:

The description for Event ID ( 4104 ) in Source ( Commerce Server 2000 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event:

Component Execution failed for component[0x5]
hr: 0x80004005
ProgID: Commerce.SaveReceipt.1
Dictionary error: Value for key 'ReceiptStorage' in dictionary 'Context' missing (expected a variant of type 9).

CAUSE

The SaveReceipt component is included in Commerce Server 2000 for backward compatibility with Site Server 3.0, Commerce Edition only. It is not intended to be used with Commerce Server 2000.

RESOLUTION

Remove the SaveReceipt component from your pipeline, save the changes, and then restart your Web server by using IISRESET from the command line.

STATUS

This behavior is by design.

MORE INFORMATION

Orders are manipulated in Commerce Server 2000 by using the Commerce.OrderGroup object. When the SaveOrder method of this object is executed, the order is saved to the Transaction database.

REFERENCES

See the Commerce Server 2000 Online Documentation for more information on the OrderGroup object.

Modification Type:MajorLast Reviewed:10/22/2002
Keywords:kbprb KB298525