Biztalk – Installing Schema Editor Extensions

Environment:
Windows Server 2008 R2 Enterprise
Biztalk 2013 R1
Visual Studio 2012
MSSQL Server 2008 R2

The steps to create a schema from an existing XML file are

  1. In Solution Explorer, right-click a BizTalk project, point to Add, and then click Add Generated Items…
  2. In the Add Generated Items dialog box, in the Templates section, click Generate Schemas, and then click Add.
  3. In the Generate Schemas dialog box, in the Document type drop-down list, select Well-Formed XML.
  4. Browse to select an Input file and click OK

When following the above steps the Document type drop down on the Generate Schemas dialog may display ‘Well-Formed XML (Not loaded)’.
biztalk-generate-schemas-dialog
A message similar to below will be displayed (the path will be different depending on the version of Biztalk installed)
biztalk-schema-generator
When running the InstallWFX.vbs file (or InstallDTD.vbs file) a dos prompt may flash up and although it appears to have worked the same message will be displayed as before.
In fact from my own experience, in the past I have tried different combinations of

  • Running the file by double-clicking from Windows Explorer.
  • Running the file as administrator from Windows Explorer.
  • Opening a Command Prompt and running the file.
  • Opening a Command Prompt as administrator and running the file.
  • Opening a Developer Command Prompt for VS2012 and running the file.
  • Opening a Developer Command Prompt for VS2012 as administrator and running the file.
  • Restarting Visual Studio after each attempt.

Hopefully one of these options work, if not then some people have reported to solve the situation by manually coying the Microsoft.BizTalk.WFXToXSDGenerator.dll and/or Microsoft.BizTalk.DTDToXSDGenerator.dll files to the extensions folder. i.e.
from
C:\Program Files (x86)\Microsoft BizTalk Server 2013\SDK\Utilities\Schema Generator
to
C:\Program Files (x86)\Microsoft BizTalk Server 2013\Developer Tools\Schema Editor Extensions
again, paths may differ depending on the version of Biztalk installed.

If copying the files works for you it may be worth taking this approach first every time.

One thought on “Biztalk – Installing Schema Editor Extensions

Leave a Reply