Microsoft KB Archive/870606

= You may receive a &quot;Message has not been initialized in construct statement&quot; error message when you build a BizTalk Server 2004 solution in Visual Studio =

Article ID: 870606

Article Last Modified on 12/17/2004

-

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 &quot;Symptoms&quot; 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.

