After creating pipeline component and registering the pipeline, whenever I run the pipeline, I used to get the following error.

Component Execution failed for component[0x0]  hr: 0×80040154\r\nProgID: TestPipeline.TestCostCalc\r\nCould not create Component TestPipeline.TestCostCalc.  This may be a component registration issue.

After some effort, I came to know the error can be encountered if we try to register the pipeline component without ProgId as class attribute. After keeping ProgId as class attribute and registrar the component, the error never turned back again.

Related Articles


If you like this post, please click on our sponsor advertisement.


4 Responses to “Pipeline Error: Component Execution failed for component”

  • cmanole:

    Hello,
    I also have a problem with running a custom pipeline component.
    My error (in basket.pipelog) is:

    PIPELINE:++ component[0x1] about to be called ProgID: SurfaceInventory.ObtainValues
    PIPELINE:– component [0x1] returned hr: 0×4, IErrorLevel=-2 in -317390712 milliseconds
    Error Description: Component Execution failed for component[0x1] hr: 0×0
    ProgID: SurfaceInventory.ObtainValues
    Could not create Component SurfaceInventory.ObtainValues. This may be a component registration issue.
    An error relating to security occurred. (Exception from HRESULT: 0x8013150A)

    PIPELINE:– 2009/09/23 13:45:40.0235 Pipeline Execution completed returning hr: 0x8013150A
    i: 0x8013150A
    hrLoop: 0x907D9
    *plErrorLevel: 2949133

    I am trying to make a component for a X64 system.
    What I did in order to deploy it was the following:

    – I built the project with platform target any cpu and platform: active (any cpu).
    – I unchecked Register for COM interop
    – I copied the .dll and .pdb in the /bin directory of my site
    – I ran regasm x.dll /tlb:x.tlb /codebase (the 64 bit regasm)
    – I used pipereg to register my pipeline to be visible under the product Info stage
    – I inserted it in basket.pcf with pipeeditor (the 64 bit version).

    However, when I run the pipeline in my site, that’s the error I get.

    Thank you in advance for your help

  • Nizam:

    Hi Ravi,

    i want a list describing the DETAIL steps that should be followed while builiding a pipeline component. i happen to look at MinMaxShipping but its not that useful.
    i am using vs2008,Sharepoint as frontend and CommerceServer 2009.
    My main aim is to debug the pipeline code which i am writing.
    Any help w.r.t to this is greatly appreciated.

    Thanks in advance,
    Nizam.

    • Nizam,
      The only way to debug pipeline is by attaching the worker process. May be in next few days, I will blog the best way to perform pipeline components unit testing. By this we will be sure that pipeline business logic is as per business logic and less time will go for debugging pipelines.

      [WORDPRESS HASHCASH] The poster sent us ’0 which is not a hashcash value.

Leave a Reply

Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter