You may receive a "Message has not been initialized in construct statement" error message when you build a BizTalk Server 2004 solution in Visual Studio (870606)



The information in this article applies to:

  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition

SYMPTOMS

When you build a Microsoft BizTalk Server 2004 solution in Microsoft Visual Studio, you may receive an error message that is similar to the following:
Message has not been initialized in construct statement

CAUSE

This behavior may occur when you do not include all the message assignments of a specific message within the same construct message shape.

When you construct a message, you specify all the message variables. Then, you make assignments to the message or its parts. If part of a specific message assignment is included in a separate construct message shape, you may receive the error message that is described in the "Symptoms" section.

RESOLUTION

To resolve this behavior, make sure that you include all parts of a specific message assignment in the same construct message shape.

STATUS

This behavior is by design.

REFERENCES

For more information about Microsoft BizTalk Server 2004, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:12/17/2004
Keywords:kbtshoot kbprb KB870606 kbAudDeveloper kbAudEndUser