Can't Add Custom Component to the Payment Pipeline
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Can't Add Custom Component to the Payment Pipeline




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Can't Add Custom Component to the Payment Pipeline  
Ravi Shankar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-04 07:46 AM

For a COM component to work with the pipeline it MUST
implement all or some of these interfaces

IPipelineComponent (mandatory)
IPipelineComponentAdmin (mandatory)
IPipelineComponentDescription (mandatory)
ISpecifyPieplineComponentUI (optional if you're using
custom properties)
and a few more like IPersistDictionary etc

Check the help file for Commerce Server on Custom Pipeline
Components and you find all this information, code samples
and such.

Have fun !

>-----Original Message-----
>I recently created a custom pipeline component that I
need to add to
>the payment pipeline (payment.pcf). However when I try to
add the
>component to payment.pcf the pipeline editor gives me the
error
>message "Unable to create component, the following error
code was
>returned, 0x80050154".
>
>Here are the details of the component:
>
>using System;
>using System.IO;
>using System.Runtime.InteropServices;
>
>namespace PCTest
>{
>  [GuidAttribute("D9A60945-DD23-4BC4-918A-33CFD9593753")]
>  public class PaymentTest
>  {
>    public static void start()
>    {
>      StreamWriter sw = File.CreateText
(@"c:\temp\payment_test.txt");
>      sw.WriteLine("Hi Mom");
>      sw.Close();
>    }
>
>    public PaymentTest()
>    {
>    }
>  }
>}
>
>- I use a GuidAttribute to avoid automatic guid
generation problems.
>- Register for COM Interop is set to "true"
>- Assembly is signed with a strong name
>
>
>I perform the following steps:
>
>1. Compile the assembly (PCTest.dll) on my local machine
>2. Copy the assembly to the development server (Windows
2003)
>3. Register the assembly on the development server - >
regasm
>/codebase PCTest.dll
>4. User PipeReg.exe to register the component, using
progid
>PCTest.PaymentTest, all stages, export and register
>5. Open payment.pcf with the pipeline editor, insert
component, select
>the PCTest.PaymentTest component
>6. ERROR - Unable to create component, the following
error code was
>returned, 0x80050154
>
>I've also tried regasm /tlb to create a type library
which I then
>browse to with PipeReg.exe, still get the same error. I
also tried
>installing the component in the global assembly cache
(gacutil -i
>PCTest.dll) before I PipeReg. Still get the same error.
>
>What am I doing wrong?
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:31 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register