BizTalk Tip : Open Orchestration after edit using XML Editor

Hey,

Have you already have to edit an orchestration using XML Editor in Visual Studio? Because you need to replace the same word by an other or whatever.

After editing, if you try to open again your orchestration, you may not see you beautiful orchestration designer but some text like that :

#if __DESIGNER_DATA #error Do not define __DESIGNER_DATA. <?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?>#endif // __DESIGNER_DATA [Microsoft.XLANGs.BaseTypes.BPELExportable(false)] ……..

The tip to solve this problem is to edit you .bsproj file, so :

  • unload the project
  • edit the btproj file
  • locate the following item group

<XLang Include=”BizTalk Orchestration1.odx”>
      <TypeName>BizTalk_Orchestration1</TypeName>
      <Namespace>MyNamespaece</Namespace>
      <SubType>Designer</SubType>
    </XLang>

  • Remove the <SubType> element
  • Save your project
  • open your orchestration with your favorite designer.

hope this will help you.

Advertisement
This entry was posted in BizTalk, Microsoft and tagged , , . Bookmark the permalink.

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 )

Connecting to %s