locked
custom pipeline error RRS feed

  • Question

  • Hi

    i have got an error when using the custom pipeline

    There was a failure executing the send pipeline:  Reason: Root element is missing.

    i have prepared the custom pipeline for the encode stage of send pipeline  i have build and deployed it and used it in send pipeline

    so when i drop a message in input folder i have not got any message i output folder with the Above Error message


    madhusudhan
    Friday, December 31, 2010 8:34 AM

Answers

  • Hi Madhsudhan,

    To resolve this error, you can try 2 approach:
        1) Rebuild your project and then stop BizTalk instances and shutdown Visual Studio. Then copy the DLL to the folder

    If this didn’t work,
        2) Rename the old DLL to name_old.dll and copy the new DLL to the folder


    In the end of point 1 and 2 start BizTalk instances


    Sandro Pereira Blog: http://sandroaspbiztalkblog.wordpress.com/ Please mark as answered if this answers your question.
    • Marked as answer by madusudan Wednesday, January 5, 2011 4:52 AM
    Tuesday, January 4, 2011 11:16 AM
    Moderator

All replies

  • Hi

    What is the input message? Are you giving xml as input. Can you please try removing <xml> tag in the input xml file?

     

    Thanks

    Naushad

    http://alamnaushad.wordpress.com/ 


    MCTS BizTalk Server http://alamnaushad.wordpress.com/ If this answers your question please mark.
    Friday, December 31, 2010 9:49 AM
    Moderator
  • yes i am using xml as input 

    the file is

    <?xml version="1.0" encoding="utf-8"?>
    <Pricelists>
    <PriceList>
    <PriceListID>01*IC-STRATEGIC</PriceListID>
    <CurrencyCode>EUR</CurrencyCode>
    <PriceListDescr>IC - Strategic customers</PriceListDescr>
    <Prices>
    <ItemPrice>
    <CPN>11399</CPN>
    <ItemNbr>31634</ItemNbr>
    <CurrentPrice>
    <EffectiveDate>15/06/2005</EffectiveDate>
    <QtyBreaks>
    <QtyBreak>
    <Qty>10</Qty>
    <Price>30.43000</Price>
    </QtyBreak>
    <QtyBreak>
    <Qty>99999999</Qty>
    <Price>27.43000</Price>
    </QtyBreak>
    </QtyBreaks>
    </CurrentPrice>
    <ProposedPrice>
    <QtyBreaks></QtyBreaks>
    </ProposedPrice></ItemPrice>
    </Prices></PriceList>
    </Pricelists>


    madhusudhan
    Friday, December 31, 2010 10:25 AM
  • Can you Pls try input as :

    <Pricelists>
    <PriceList>
    <PriceListID>01*IC-STRATEGIC</PriceListID>
    <CurrencyCode>EUR</CurrencyCode>
    <PriceListDescr>IC - Strategic customers</PriceListDescr>
    <Prices>
    <ItemPrice>
    <CPN>11399</CPN>
    <ItemNbr>31634</ItemNbr>
    <CurrentPrice>
    <EffectiveDate>15/06/2005</EffectiveDate>
    <QtyBreaks>
    <QtyBreak>
    <Qty>10</Qty>
    <Price>30.43000</Price>
    </QtyBreak>
    <QtyBreak>
    <Qty>99999999</Qty>
    <Price>27.43000</Price>
    </QtyBreak>
    </QtyBreaks>
    </CurrentPrice>
    <ProposedPrice>
    <QtyBreaks></QtyBreaks>
    </ProposedPrice></ItemPrice>
    </Prices></PriceList>
    </Pricelists>
    

    Let me know if it helps.

     

    Regards

    Naushad

    http://alamnaushad.wordpress.com/ 


    MCTS BizTalk Server http://alamnaushad.wordpress.com/ If this answers your question please mark.
    Friday, December 31, 2010 10:28 AM
    Moderator
  • when i used  the Above format also i am getting the different error

    madhusudhan
    Monday, January 3, 2011 6:07 AM
  • Can you share custom pipeline code. I believe somewhere inside pipeline component that message is lost. May be you are reading the memory stream and not rewinding it back and thus getting empty message at Assemble stage.
    Regards, Ajeet Kumar MCTS Biztalk Server
    Monday, January 3, 2011 12:12 PM
  • sure thanks for ur reply i have solved it

    but the next day of solving it i am struck with another error

    that error i got when i build the pipeline once again and copied and pasted in c:program files/Biztal server 2009/pipelinecomponents i.e i replaced with it

    so i got the below error when i build the Biztalk project

    Error     Unable to copy file "..\..\Program Files\Microsoft BizTalk Server 2009\Pipeline Components\AvantePricelistsPipeline.dll" to "bin\Debug\AvantePricelistsPipeline.dll". The process cannot access the file 'bin\Debug\AvantePricelistsPipeline.dll' because it is being used by another process.

     

    i am not able to know which process it is using

    i restarted the Biztalk system and reopened the visual studio and tried many ways  but i am getting the same error when i build the Biztalk project which is using that pipeline 

     

    what might be the reason  can anyone tell me to solve it

    waiting for reply

    Regards

    Madhsudhan


    madhusudhan
    Tuesday, January 4, 2011 10:54 AM
  • Hi Madhsudhan,

    To resolve this error, you can try 2 approach:
        1) Rebuild your project and then stop BizTalk instances and shutdown Visual Studio. Then copy the DLL to the folder

    If this didn’t work,
        2) Rename the old DLL to name_old.dll and copy the new DLL to the folder


    In the end of point 1 and 2 start BizTalk instances


    Sandro Pereira Blog: http://sandroaspbiztalkblog.wordpress.com/ Please mark as answered if this answers your question.
    • Marked as answer by madusudan Wednesday, January 5, 2011 4:52 AM
    Tuesday, January 4, 2011 11:16 AM
    Moderator
  • why you copy the file from pipeline components folder to your project folder? I can understand you do that in another direction. Anyway, you do not have to copy it to the pipeline component folder anyway, just gac it in your post build eventshould do the work
    Wednesday, January 5, 2011 4:15 AM