BizTalk orchestration keeps opening in Visual Studio text editor

You may know the issue when opening a BizTalk orchestration and it opens like this:

orcheditor1
Note: I blurred the code to protect the name of my client.

Not much you can do about it, except right-clicking the orchestration and clicking ‘Open With…’ and choosing the BizTalk Orchestration Designer.

orcheditor2

However, if you close the BizTalk Orchestration Designer again, and double-click the odx file, it once again opens in the first, yet useless, view.

An easy fix

The culprit is actually not in the orchestration, but can be found in the BizTalk project (.btproj) file:

Open the Visual Studio BizTalk project (.btproj file) containing the orchestration with your favorite editor and search for ‘Designer’:

orcheditor3

You’ll notice that the orchestration, which refuses to open in the Orchestration Designer, actually has a node SubType which is set to “Designer“.

Now remove the line containing this node from the file in your editor, save the file and reload the file in Visual Studio.
If you now double-click the orchestration, it now opens in the BizTalk Orchestration Designer again!

Don’t forget to check-in/commit your changes 😉

Hope this helps! Cheers!
Pieter

Advertisements

One thought on “BizTalk orchestration keeps opening in Visual Studio text editor

  1. Pingback: Corrupt BizTalk orchestrations | Pieter Vandenheede

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