Unexpected data found while looking for: '\r\n' RRS feed

  • Question

  • Hi,

    I am getting the following error when i am testing the the flat file against FFDASM.

            Source:         Flat file disassembler
            Message:        Unexpected data found while looking for:
    The current definition being parsed is Header. The stream offset where the error
     occured is 28. The line number where the error occured is 1. The column where t
    he error occured is 28.
            HRESULT:        80131940

    Your Help is highly appreciated

    Friday, August 12, 2011 4:14 AM


All replies

  • Hi,

    Please review this MSDN blogpost Early Termination with Position Flat Files.



    Steef-Jan Wiggers
    MVP & MCTS BizTalk Server 2010
    If this answers your question please mark it accordingly


    Friday, August 12, 2011 12:18 PM
  • You might also see this post for help.

    Don't forget to mark the post as answer or vote as helpful if it does, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)
    Friday, August 12, 2011 12:53 PM
  • Mpramod,

    One of the data elements position/length from your flat file is not matching with what is defined in your flat file schema.



    Friday, August 12, 2011 9:06 PM
  • Thank You Steef, Rohit Raam,

    Steef: I havenot tried Early Termination property setting.

    What I found was , the Flat File Messages which i was receiving were created in Unix envoironment.

    My Flat File propety setting has child delimiter : ASCII CR + LF (0x0D 0x0A)

    Flat File message i was receiving is from Unix system. Unix doesnot create file with CR+ LF , it creates with only LF.

    I opened the Flat file with Notepad++. EDIT ---- EOL Conversion ---- Windows Format ----Save.

    And that solved my problem for atleast testing Purpose.

    May be, team responsible for sending Flat file messages going to automate above procedure in near future.

    Thanks a lot for your inputs.


    Monday, August 15, 2011 5:29 PM
  • If you want then you can also handle this conversion at your end by creating a pipeline component using a stream wrapper to do this conversion.
    Don't forget to mark the post as answer or vote as helpful if it does, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)
    Tuesday, August 16, 2011 3:57 AM