Microsoft KB Archive/873003

= BUG: You receive a &quot;The activity model does not conform to the system associated with this design manager&quot; error message when you call the SaveActivityModelToSystem method in BizTalk Server 2004 =

Article ID: 873003

Article Last Modified on 8/10/2004

-

APPLIES TO


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

-





SYMPTOMS
In Microsoft BizTalk Server 2004, when you call the DesignManager.LoadActivityModelFromFile method, you receive the following error message:

The activity model does not conform to the system associated with this design manager.



CAUSE
This behavior occurs when the file that contains the activity model has empty nodes that are not valid XML data types if they are empty. You receive this error message when the LoadActivityModelFromFile method tries to load the activity model from this file.



RESOLUTION
To resolve this behavior, the user must define valid default step parameters during design time.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
When you create steps in an activity model, you can specify default XML parameters. These parameters are used as the activation message during run time if an activation message is not provided at run time. If an activity model has been saved to the system without defining default step parameters, default step parameters that are provided by the ActivityModelDesigner API are used instead. This system-provided XML document is a list of empty nodes that corresponds to the XMLSchema schema. However, some XML data types are not valid if they are empty. These data types may include the following types:
 * numeric
 * boolean

Scenarios when you may notice this bug
You may notice this bug during design time or during run time.

Design time
If the following conditions are true, you receive the error message that is mentioned in the &quot;Symptoms&quot; section:
 * An activity model has been saved to the system without defining default step parameters.
 * The system-provided default step parameters use data types where is not valid.
 * You load the activity model back from the system and save the activity model to a file. Then, you try to call the LoadActivityModelFromFile method on that file.

Run time
If the following conditions are true, you may receive an error message:
 * An activity model does not define default step parameters. Instead, the activity model uses the system-provided default step parameters.
 * No activation message is used at run time. Instead, the system-provided defaults become the activation message.
 * The activation message uses data types where is not valid.

You may receive the following error message:

The XML document has failed validation.

Keywords: kbtshoot kbbug kbfix KB873003

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.