Biz(Talk)2

Talk, talk and more talk about BizTalk

Root element is missing

Simply a minor facepalm moment I want to document to help both myself and others avoid unnecessarily wasting an hour. Like I just did…

You’re attempting to perform a ‘Validate Instance’ of a document against the .xsd schema definition, and receiving the following error:

   C:\path\to\sample\data.xml: warning BEC2004: Root element is missing.

Step 1: Make sure to close Excel/TextEdit/whatever external program is preventing Visual Studio from obtaining an exclusive lock on the sample file.
Step 2: Step away from the keyboard, grab a cup of tea and some air. You need it…

Advertisements

September 27, 2012 - Posted by | BizTalk | ,

1 Comment »

  1. Well…. you were right.

    On both counts.

    So, thank you very much for your assistance, and I need to go scream at something now.

    Comment by Steve | April 15, 2015 | Reply


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: