Dot Net Dunk

Wandering in the land of .NET
posts - 42, comments - 21, trackbacks - 165

My Links

News

Archives

Post Categories

Blog Roll

Flat File Processing Gotcha

Flat file parsing in BTS2006 is pretty nice in general - you get a very specific error back in the error log if your incoming file is in the wrong format for the schema (or, put a more likely way, if you have buggered up creating the schema).

However, this vague error stumped us for a little while:

There was a failure executing the receive pipeline: "Orders.ContoFFPipeline.ContoFF, Orders.ContoFFPipeline, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d5d6f7acdeb815af" Source: "Flat file disassembler" Receive Port: "RcvEnvelopedDocument" URI: "C:\FFIN\*.TXT" Reason: Unrecognized data in remaining stream

In our case this was due to a rogue carriage return at the end of the file (we had two instead of one!). Hope this saves someone some time!

Print | posted on Tuesday, January 24, 2006 2:07 PM | Filed Under [ BizTalk Server Solidsoft ]


Feedback

# re: Flat File Processing Gotcha

Hi,
I'm having this same error parsing a flat file. I tried to check if my file has 2 CR in the end & I tried to parsing it but no use. Always this error. I validated the instance file against its schema and everything seems to be ok.

It happens that i've this same process, with same files & schemas & it works in BTS2004.

Tell me, you only remove one CR of the end of flat file or change somehow your schema?

Thanks,
Carlos 5/26/2006 2:32 PM | Carlos Pereira

# re: Flat File Processing Gotcha

I agree - I thank you for pointing out the gotcha, but how did you fix it? 5/31/2007 1:38 AM | Ricky

# re: Flat File Processing Gotcha

Carlos,
I am having a simillar issue.
Please let me know how did u fix ur issue.

Thanks in advance 7/25/2007 4:55 PM | Ganesh

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 7 and 1 and type the answer here:

Powered by: