Flat File Disassembler validation with line numbers in the exception messsage

Home Page Forums BizTalk 2004 – BizTalk 2010 Flat File Disassembler validation with line numbers in the exception messsage

Viewing 1 reply thread
  • Author
    Posts
    • #21734

      Hi,

      Has anyone ever written a custom flat file disassembler pipeline component that if there are validation failures the exception would give the line numbers of the failures in the source flat file message?

      Using the standard pipeline component, an error in the event log will say something like “The Date or Time value received for Field: DocumentDate is incorrect.  Error: String was not recognized as a valid DateTime.”

      I need to extend this message to:

          * state which line number in the received file this occurred.
          * list all validation errors, not just the first.

      Does anyone have any suggestions on how to do this?

    • #21738

      Hi,

         i have forgot the lint..but i can say that you can download the “custom pipe component viward”.

      If you run the viward it will ask some inputs (which type of code you need(vb/C#) /  Receive pipeline / send Pipeline / which stage of pipeline you want to use this  like this)…it will generate the C#/VB code project…then you chan see “Execute” one method is there then implement you logic ..change the orininal data before return the meassge..the build the project ..then copy the dll to the biztalk pipeline folder..i let you know tomorrow where i had downloaded..  

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.