KevinBurton

I am trying to run the basket pipeline and in the basket pipeline log I see:

PIPELINE:-- component [0x7] returned hr: 0x0, IErrorLevel=1 in 0 milliseconds
PIPELINE:++ component[0x8] about to be called ProgID: Commerce.ReservePromoCodes
RootObject: ReadValue promo_codes VT_DISPATCH PV=[0x67a1978] VT_EMPTY __empty__
RootObject: ReadValue promo_code_info VT_DISPATCH PV=[0x67a1a38] VT_EMPTY __empty__
RootObject: WriteValue promo_code_info VT_DISPATCH PV=[0x67a1a38] VT_DISPATCH PV=[0x679ee48]
PIPELINE:-- component [0x8] returned hr: 0x8000FFFF, IErrorLevel=4 in 141 milliseconds
Error Description: Component Execution failed for component[0x8] hr: 0x8000FFFF
ProgID: Commerce.ReservePromoCodes
Exception of type 'System.EnterpriseServices.TransactionProxyException' was thrown.
PIPELINE:-- 2007/04/10 12:13:04.0555 Pipeline Execution completed returning hr: 0x8000FFFF
i: 0x9
hrLoop: 0x8000FFFF
*plErrorLevel: 1000
(=====MTS ABORTed=====)
Sink stopped at 2007/04/10 12:13:04.0555

Any ideas on the cause



Re: Commerce Server 2007 Pipeline error.

Max Akbar - MSFT

Any errors in the event log What kind of debugging have you done

-Max






Re: Commerce Server 2007 Pipeline error.

KevinBurton

Max Akbar - MSFT wrote:

Any errors in the event log What kind of debugging have you done

-Max

The event log contains a message that is basically a duplicate of the information in the pipeline log. I have included a copy below. You asked what debugging I have done. I have tried several SKUs for the line items. Currently we are running the basket, total, and checkout pipelines. The pipeline trace that was supplied earlier was from the checkout pipeline. These three pipelines are run after a basket has been populated with line items. The problem seems to occur with certain SKUs but if those same SKUs are included in a different order or in combination with other SKUs as line items I don't get this error. For example if I try to place an order with SKU 1 and 2 and run the pipeline(s) I get this error but if I set up an order with line item SKUs 3,4,1,2 (in that order) the pipeline does not throw this error. I have tried several combinations of SKUs and have failed to find a pattern. Any help in diagnosing this problem would be greatly appreciated. Thank you.

Pipeline Error: Component Execution failed for component[0x3] hr: 0x1AB2A2C0

ProgID: Commerce.CSFRecordEvent.1

The '_performance' key was not found in the order dictionary. If this is a checkout pipeline, the 'PipelineInfo.DiscountsCacheName' property must be set correctly in order for CSFRecordEvents to function correctly. Please check your pipeline settings.





Re: Commerce Server 2007 Pipeline error.

KevinBurton

Sorry but there are two errors. This is the pipeline log that matches the event log entry that I posted earlier.

PIPELINE:-- component [0x2] returned hr: 0x1, IErrorLevel=-2 in 857931912 milliseconds
PIPELINE:++ component[0x3] about to be called ProgID: Commerce.CSFRecordEvent.1
RootObject: ReadValue _content VT_NULL __null__ VT_EMPTY __empty__
RootObject: ReadValue _eventcount VT_NULL __null__ VT_EMPTY __empty__
RootObject: ReadValue _performance VT_NULL __null__ VT_EMPTY __empty__
PIPELINE:-- component [0x3] returned hr: 0x4, IErrorLevel=-2 in 857931912 milliseconds
Error Description: Component Execution failed for component[0x3] hr: 0x1A8EA6C0
ProgID: Commerce.CSFRecordEvent.1
The '_performance' key was not found in the order dictionary. If this is a checkout pipeline, the 'PipelineInfo.DiscountsCacheName' property must be set correctly in order for CSFRecordEvents to function correctly. Please check your pipeline settings.
PIPELINE:-- 2007/04/12 09:53:14.0168 Pipeline Execution completed returning hr: 0x80004005
i: 0x80004005
hrLoop: 0x407D7
*plErrorLevel: 3473417
(=====MTS ABORTed=====)
Sink stopped at 2007/04/12 09:53:14.0168





Re: Commerce Server 2007 Pipeline error.

Joseph Johnson

Kevin,

The _performance key which is consumed by the CSFRecordEvent pipeline is initially created by the CSFInitPipeline component (which is probably one of the first components to execute in your pipeline, unless you've modified it).

I don't know exactly what generates this key, but the other inputs for this pipeline would suggest that either the cache or the contextprofile are responsible for populating this property. If you turn on pipeline debugging, you can see each key/value pair as it enters and exits each component. You might want to verify that the _performance key is being written by component 0x0 when you're getting this error. Reading the pipeline log file can be a bit confusing, but it's basically a dump of each pipeline component's results in the order they were processed.

In the event that the CSFInitPipeline is in fact *not* populating the _performance key, you may want to check what you're attaching the right information to the PipelineInfo object before running the pipeline.