Home > BizTalk Exception-Cause-Resolutions > Reason: Name cannot begin with the ‘.’ character, hexadecimal value 0x00. Line 1, position 2.

Reason: Name cannot begin with the ‘.’ character, hexadecimal value 0x00. Line 1, position 2.

Issue :

Pipeline execution throws “Reason: Name cannot begin with the ‘.’ character, hexadecimal value 0x00. Line 1, position 2.”

Cause :

The default encoding for a BizTalk schema is UTF-16. When a stream is read from the bodyPart of the message in a pipeline component using a different encoding ( like UTF-8), then this error occurs.

Resolution:

The resolution is to use “Encoding.Unicode” which represent UTF-16 while reading the stream using a Stream reader.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: