Commerce Server Blog

Build world class ecommerce applications using Microsoft Commerce Server
  •  
  • Home
  • About
  • Advertise
  • Copyright Policy
  • Disclaimer

Pipeline Error: Component Execution failed for component

ravikanth | August 12, 2009

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.

Categories
commerce server 2007
Comments rss
Comments rss
Trackback
Trackback

« Me @ AvanadeTechnopia Commerce Server Quiz for Beginners »

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

  1. cmanole says:
    September 23, 2009 at 4:05 am

    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: 0×8013150A)

    PIPELINE:– 2009/09/23 13:45:40.0235 Pipeline Execution completed returning hr: 0×8013150A
    i: 0×8013150A
    hrLoop: 0×907D9
    *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

    Reply
  2. Nizam says:
    December 30, 2009 at 10:25 am

    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.

    Reply
    • ravikanth says:
      December 30, 2009 at 7:59 pm

      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.

      Reply

Leave a Reply

Click here to cancel reply.

Powered by WP Hashcash

Sign up for Newsletter


Categories

Quiz

  • Catalog Quiz for Beginners
  • Profile Quiz for Beginners
  • Quiz 1 for Advance Users
  • Quiz for Beginners

Recent Posts

  • Configuration Error: Could not load type ‘Microsoft.Commerce.Providers.SharePointCommerceOrderModule from assembly because the parent type is sealed
  • How commerce server Site Terms are stored
  • Troubleshoot: An unexpected error has occurred.
  • Design consideration for developing commerce server catalog system
  • Troubleshoot: AuthManager(CommerceServer): Error reading Commerce Server administration database
  • Account Creation Approval Process
  • Troubleshoot: Unauthorized exception when the new user tries to access MyAccount page
  • Microsoft Commerce Server 2009 code name "R2" – January 2010 Community Technical Preview
  • Merchant Access to Catalog Manager
  • Commerce Server 2009 December VPC ready for download

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Tags

add discounts add images to profile Advantages of commerce server approve discounts authentication auto login process automatic user creation basket Brand Management business tools campaign management Catalog catalog import Category CategoryConfiguration cc_number checkout commerce 7 commerce server commerce server 2002 commerce server 2007 commerce server 2007 Display Types Commerce Server SP2 discounts ecommerce Estimation inventory Kanth Koppala marketing system migration error Mojave Product profile profile subsystem property metadata purchase order quick checkout Ravi Ravi Kanth site cache refresh starter site tools transactions error Variant
(c) 2009 Commerce Server Blog. All rights Reserved. Articles cannot be reproduced without permission from the author.Write to me at kanth@ravikanth.net if you have any comments, questions, suggestions about this site or would like to send us a tip
About Us | Terms of Use | Disclaimer | Advertise .