Dot Net Dunk

Wandering in the land of .NET
posts - 42, comments - 32, trackbacks - 158

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

Gravatar

# 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
Gravatar

# 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
Gravatar

# 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
Gravatar

# file processing

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 .
10/19/2008 8:52 PM | najat
Gravatar

# re: Flat File Processing Gotcha

Tip: Also check the first character of your received flat file message is valid.
7/8/2009 7:31 AM | Charlie
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: