Microsoft Hotfix BizTalk Server 2009 – Orchestration Designer incorrectly indicates that there is an error in a BizTalk Server 2009 project


In Microsoft Visual Studio, you create a Microsoft BizTalk Server 2009 project by working in BizTalk Server 2009 Orchestration Designer. A red exclamation point appears on the Expression shape to indicate that there is an error in the expression that is in the shape. When you open the Expression shape, you find that parts of some messages are underlined by red marks to indicate that the parts are missing types. Additionally, you receive the following error message when you compile the project:

X2003: #error: “The expression that you have entered is not valid.”


  • This problem occurs because Orchestration Designer provides types to the project compiler in an incorrect order.


Applies To

  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard

According to Tomas Restrepo, this hotfix also solved the problem with consuming WCF Services within the same BizTalk project as the orchestration that uses them.

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

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


Back to Top