Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2004, 04:13 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error making custom pipeline

Hi I get this error when I make a custom pipeline component inserted in validate portion of a new (receive pipeline) and try to run it.
In event viewer i get these errors, please tell me what to do.
Thanks!

Errors:

The Messaging Engine encountered an error publishing a batch of "1" messages to the Message Box database for the transport adapter "FILE". Please refer to Health and Activity Tracking tool for more detailed information on this failure and check the endpoint bindings are correctly configured.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


The Messaging engine failed to process a message submitted by adapter:FILE Source URL:F:\bts projects\EAISolution\FileDrop\ReceiveRequest\*.xml . Details:Could not find a matching subscription for the message. . This error occurs if the subscribed orchestration schedule or send port has not been started, or if some of the message properties necessary for subscription evaluation have not been promoted. Please refer to Health and Activity Tracking tool for more detailed information on this failure

The "FILE" adapter is suspending a message coming from Source URL:"F:\bts projects\EAISolution\FileDrop\ReceiveRequest\*.xml ". Details:"Could not find a matching subscription for the message. ".

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

The Messaging Engine has suspended "1" message(s) from adapter "FILE" due to failures in message processing. Please refer to Health and Activity Tracking tool for more detailed information on this failure.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Hat error:

Routing failure report

Suspended (not resumable)
This service instance exists to help debug routing failures. The context of the message associated with this instance contains all the promoted properties at the time of the routing failure.

error code: -1
error category: -3



************************************************** ******
Here's sample code for the pipeline
//sample code for custom pipeline component

using System; //... etc

namespace CustomValidatePipeline
{
    [ComponentCategory(CategoryTypes.CATID_PipelineComp onent)]
    [ComponentCategory(CategoryTypes.CATID_Any)]
    [ComponentCategory(CategoryTypes.CATID_Validate)]
    [System.Runtime.InteropServices.Guid("BEADC7A6-2E73-4184-8984-F63372C03134")]
    /// <summary>
    /// Summary description for Component.
    /// </summary>
    public class Component:
        IBaseComponent,
        Microsoft.BizTalk.Component.Interop.IComponent,
        IComponentUI,
        IPersistPropertyBag //...etc
    {
        //Constant variables
                #region "IComponent members (containing Execute method)"

        public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
        {


            IBaseMessageContext context = pInMsg.Context;
            object obj = context.Read("Quantity", "http://EISchemas.PropertySchema.PropertySchema" );

            if (obj!=null)

            {
                Debug.WriteLine("*obj not null*");
                try
                {
                    Debug.WriteLine("** quantity**: " + obj.GetType());
                    Debug.WriteLine("** quantity**: " + obj.ToString());
                    // do some work with each value that was promoted
                }
                catch
                {
                    Debug.WriteLine("** Error **");
                }

            }
            Debug.WriteLine("*Goes in 3*");
            Debug.WriteLine("In successful Component ExecuteEnd");
            return pInMsg;


        }
        #endregion

        #region "IComponentUI members (containing validation and icon)"
        public System.Collections.IEnumerator Validate(object projectSystem)
        {
            //....
        }




}


 
Old December 7th, 2004, 07:08 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi!
I am also facing the problem as stated by You.
Even the error Messages in the biztalk Admin Console are
similar.

does any one have a solution to this problem?
Thank you
Rgds,
bindia

Bindia





Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a custom ImageKey property? jacob C# 0 February 27th, 2006 09:04 AM
Error in receive pipeline azmatazz Biztalk 0 April 28th, 2005 07:25 AM
Call Orch From Orch Through Disassemble Pipeline rodmcleay Biztalk 0 April 27th, 2005 02:02 AM
custom error page texasraven Classic ASP Basics 0 May 13th, 2004 04:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.