Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

BizTalk Orchestration fails to open in Design View

Kevin Morillo

Lately I have come across this annoying little bug (feature?) of Visual Studio while working with BizTalk orchestrations. If an orchestration is opened in XML view and then closed, it will forever more insist on opening up in TEXT view.

clip_image001

As you can see, this is not very useful. Right clicking on the orchestration in Solution Explorer, then selecting Designer, then selecting “Set as Default” does not actually set it as default either. This might be an issue with not running Visual Studio as administrator. Though in some environments, running as an administrator may not be possible. Another different solution is to open up the .btproj file containing the offending orchestration.

<ItemGroup>
    <XLang Include="Workflows\PeopleSoft\PSPersonBasicFullSyncToSQL.odx">
      <TypeName>PSPersonBasicFullSyncToSQL</TypeName>
      <Namespace>Integrations.PSGeneralIntegrations.Workflows.PeopleSoft</Namespace>
      <SubType>Designer</SubType>
    </XLang>
    <XLang Include="Workflows\PeopleSoft\PSWorkforceFullSyncToSQL.odx">
      <TypeName>PSWorkforceFullSyncToSQL</TypeName>
      <Namespace>Integrations.PSGeneralIntegrations.Workflows.PeopleSoft</Namespace>
    </XLang>
</ItemGroup>

Remove the <SubType>Designer</SubType> line, save and reload the project. And opening the orchestration again should yield the desired designer view.

1 Comment. Leave new

Good catch..

When I want to view the Orchestration source, I always open it in a text editor from Windows Explorer. I got into the habit of doing this when the “missing closing brace in the body” bug started to occur.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>