Geeks With Blogs
Dot Net Dunk Wandering in the land of .NET

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!

Posted on Tuesday, January 24, 2006 2:07 PM BizTalk Server , Solidsoft | Back to top


Comments on this post: Flat File Processing Gotcha

# re: Flat File Processing Gotcha
Requesting Gravatar...
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
Left by Carlos Pereira on May 26, 2006 2:32 PM

# re: Flat File Processing Gotcha
Requesting Gravatar...
I agree - I thank you for pointing out the gotcha, but how did you fix it?
Left by Ricky on May 31, 2007 1:38 AM

# re: Flat File Processing Gotcha
Requesting Gravatar...
Carlos,
I am having a simillar issue.
Please let me know how did u fix ur issue.

Thanks in advance
Left by Ganesh on Jul 25, 2007 4:55 PM

# file processing
Requesting Gravatar...
i want from you some book, reports and proposal about (mapping and present data on the web) the question was how we can covert flat file to xml and present this data on the web . thanks . please retarun anser about this subject .
Left by najat on Oct 19, 2008 8:52 PM

# re: Flat File Processing Gotcha
Requesting Gravatar...
Tip: Also check the first character of your received flat file message is valid.
Left by Charlie on Jul 08, 2009 7:31 AM

Your comment:
 (will show your gravatar)
 


Copyright © Duncan Millard | Powered by: GeeksWithBlogs.net | Join free