Commerce Server General - Runpipeline Method

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > July 2005 > Runpipeline Method





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Runpipeline Method
ravikk1010

2005-06-14, 4:51 am

I am Ravi Kumar K, working on Commerce Server 2002. I got a Problem while working with Orders, I changed “UserObject” table structure and as per our client requirement.

I copied pipelines from “netordersitelet” (which is another project comes with SDK). When I am trying to use the Pipeline Objects for Basket,

-------------------------------------------------------------------------------
Code:

CuProf = pfContext.GetProfile("g_id", userId, "UserObject");

// Run the basket pipeline

PipelineInfo info = new PipelineInfo("basket");

// csContext.UserProfile =Prof;

info.Profiles.Add("User", CuProf);// CuProf CommerceContext Profile

// string ss = info.ToString();

basket.RunPipeline(info);
---------------------------------------------------------------------------------
here in the last line of my code, Pipeline is not running by that Parameter. It’s giving the following error,

---------------------------------------------------------------------------------
Error:

Component Execution failed for component[0x1] hr: 0x80004005 ProgID: Commerce.RequiredProdInfo.1 Dictionary error: Value for key 'MessageManager' in dictionary 'Pipe Context' is missing (orderform=default)
---------------------------------------------------------------------------------

Please, suggest me how to rectify my Problem.
arik

2005-06-15, 2:48 am

Hello Ravi

Does your web.config contain MessageManager entry ?

"ravikk1010" wrote:

>
> I am Ravi Kumar K, working on Commerce Server 2002. I got a Problem
> while working with Orders, I changed “UserObject” table structure and
> as per our client requirement.
>
> I copied pipelines from “netordersitelet” (which is another project
> comes with SDK). When I am trying to use the Pipeline Objects for
> Basket,
>
> -------------------------------------------------------------------------------
> Code:
>
> CuProf = pfContext.GetProfile("g_id", userId, "UserObject");
>
> // Run the basket pipeline
>
> PipelineInfo info = new PipelineInfo("basket");
>
> // csContext.UserProfile =Prof;
>
> info.Profiles.Add("User", CuProf);// CuProf CommerceContext Profile
>
> // string ss = info.ToString();
>
> basket.RunPipeline(info);
> ---------------------------------------------------------------------------------
> here in the last line of my code, Pipeline is not running by that
> Parameter. It’s giving the following error,
>
> ---------------------------------------------------------------------------------
> Error:
>
> Component Execution failed for component[0x1] hr: 0x80004005 ProgID:
> Commerce.RequiredProdInfo.1 Dictionary error: Value for key
> 'MessageManager' in dictionary 'Pipe Context' is missing
> (orderform=default)
> ---------------------------------------------------------------------------------
>
>
> Please, suggest me how to rectify my Problem.
>
>
>
> --
> ravikk1010
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1099235.html
>
>

Nihit Kaul [MSFT]

2005-07-06, 5:51 pm

That is correct - it seems like you do not have the MessageManager section
in your web.config.

To read about how to create the resource files needed by the
MessageManager, see the following section in the CS 2002 documentation:
Developer's Guide --> Commerce Server .Net Application Framework -->
Building a .NET-Based Commerce Server Application --> Using MessageManager

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: Runpipeline Method
thread-index: AcVxeTJOBFpcDxDMQma7u6nQsFwj3A==
X-WBNR-Posting-Host: 85.250.78.99
From: "=?Utf-8?B?YXJpaw==?=" <arik@discussions.microsoft.com>
References: <ravikk1010.1qm9sz@mail.webservertalk.com>
Subject: RE: Runpipeline Method
Date: Wed, 15 Jun 2005 00:09:39 -0700
Lines: 57
Message-ID: <D015A7BE-FEC5-40C3-A462-29918B990D7B@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2875
X-Tomcat-NG: microsoft.public.commerceserver.general

Hello Ravi

Does your web.config contain MessageManager entry ?

"ravikk1010" wrote:

>
> I am Ravi Kumar K, working on Commerce Server 2002. I got a Problem
> while working with Orders, I changed “UserObject” table structure and
> as per our client requirement.
>
> I copied pipelines from “netordersitelet” (which is another project
> comes with SDK). When I am trying to use the Pipeline Objects for
> Basket,
>
>

----------------------------------------------------------------------------
---
> Code:
>
> CuProf = pfContext.GetProfile("g_id", userId, "UserObject");
>
> // Run the basket pipeline
>
> PipelineInfo info = new PipelineInfo("basket");
>
> // csContext.UserProfile =Prof;
>
> info.Profiles.Add("User", CuProf);// CuProf CommerceContext Profile
>
> // string ss = info.ToString();
>
> basket.RunPipeline(info);
>

----------------------------------------------------------------------------
-----
> here in the last line of my code, Pipeline is not running by that
> Parameter. It’s giving the following error,
>
>

----------------------------------------------------------------------------
-----
> Error:
>
> Component Execution failed for component[0x1] hr: 0x80004005 ProgID:
> Commerce.RequiredProdInfo.1 Dictionary error: Value for key
> 'MessageManager' in dictionary 'Pipe Context' is missing
> (orderform=default)
>

----------------------------------------------------------------------------
-----
>
>
> Please, suggest me how to rectify my Problem.
>
>
>
> --
> ravikk1010
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1099235.html
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com