Welcome to MSDN Blogs Sign in | Join | Help

Microsoft BizTalk Server

(Kerrey Zheng's view with BPI Products)
Error BEC2004: Unexpected data found while looking for: '\n\r'

Error BEC2004: Unexpected data found while looking for: '\n\r'

This maybe encountered when you Validation Instance for a flat file.

Solution:

1, Check your flat file(always an input file), there maybe BLANKS before 'return line', so make sure the file is a coreect one;

2, Modify your Schema file, you need to add one more element to fit thos BLANKS.

Posted: Wednesday, January 17, 2007 1:30 PM by Kerrey Zheng
Filed under:

Comments

rajatpk said:

Kerry,

I had the same problem in my project. My customer doesn't like to add element in schema.Is it possible to do by any other way.

Thanks,

Raja Kumaravel

rajatpk@hotmail.com

# February 14, 2007 11:57 AM

ujjwal said:

hi Kerrey,

I'm having a doubt in Biztalk Server Schema Validation. The error that i get is BEC2004. I'm unable to validate the instance of a particular file for the schema.. My schema is a very simple XML input schema.. while the schema validates succesfully.. it fails to validate the instance of the file ...

I tried searching on the net for the error "BEC2004" but not much information was available..

Kindly help me regading this..

Thanks and Regards,

Ujjwal

+91 9940298334

# May 10, 2007 5:44 AM

Kerrey Zheng said:

Could you raise your question clearly:

1, is your instance a flat file?

2, What's the detail error message?

If possilbe, send email to me.

Kerrey

# May 10, 2007 4:38 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker