Archive | XML RSS for this section

Don’t “Pretty Print” the Filter Section of Your BizTalk Bindings Files: Exception from HRESULT: 0xC00CE557

Watch your bindings files!  If you do the typical thing and export your BizTalk bindings files from the Management console, be careful not to “pretty print” the Filter portions of the output when looking at it.  Doing so may cause BizTalk to generate the following:

Could not enlist send port YOUR_PORT_NAME Exception from HRESULT: 0xC00CE557

BizTalk doesn’t like having a CrLf as the first character in the Filters section.  So if you’re taking a peek at the bindings file, be careful when you’re using a word processor or text editor other than Notepad and especially so when using the Visual Studio XML editor!

Thanks to Shankars  for the helpful post that discusses this problem!

Should you accidentally load the file in the VS XML editor or a text editor that likes to “help” you with a pretty-print, you can  fix this problem without re-generating the bindings file.  Simply delete the CrLf characters in the first part of your filter definition in the file. Just delete the characters until the first character in the filter is flush with the <Filter> tag.   There is no need to put the entire filter on a single line as mentioned above.

Adding Well-Formed XML and DTD Schema Generation Support for BizTalk 2010

Generating schemas from well-formed xml has been a standard piece of the BizTalk developer’s toolbox.  However, this capability, although available since BizTalk 2004, has never been installed by default.  Why?  No one seems to know and even in BizTalk 2010, this functionality is still missing until you install it yourself.

Here are the steps:

  1. Drill down to the BizTalk installation directory and locate the SDK\Utilities\Schema Generator sub-directory in Windows Explorer (likeC:\Program Files (x86)\Microsoft BizTalk Server 2010\SDK\Utilities\Schema Generator).
  2. Execute the scripts InstallDTD.vbs and InstallWFX.vbs.  In some of the previous installations in BizTalk, you’d be done here.  However, in BizTalk 2010, you’ll also need to complete the step below as well.
  3. Copy and paste the files Microsoft.BizTalk.DTDToXSDGenerator.dll and Microsoft.BizTalk.WFXToXSDGenerator.dll to
    <BizTalk Installation Directory>\Developer Tools\Schema Editor Extensions

After having done that, you’ll be able to generate schemas from well-formed XML and DTDs as before.

%d bloggers like this: