Microsoft KB Archive/276979

= BizTalk Editor: A Field Element or Record with the Same Name Already Exists in the Tree =

Article ID: 276979

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition

-



This article was previously published under Q276979



SYMPTOMS
When you use the BizTalk Editor to create records and fields for a file specification, you may receive the following error message:

BizTalk Editor

A field element or record with the name  already exists in the tree. You cannot rename a field to the same name as an existing field or record. For more information about creating a new node using the same name as an existing node, see Microsoft BizTalk Server 2000 Help.

Do you want to revert back to the original string ?

NOTE:  and  are examples. The actual error message will vary depending on the actual names that you are using.



CAUSE
This error message is caused by a problem in the BizTalk Editor syntax checking.



WORKAROUND
To work around this problem, do the following:
 * 1) Create the field at the root level of your specification.
 * 2) Create the record at the level needed by using the same name as the field from step 1.
 * 3) Drag the field created in step 1 into the record created in step 2.



STATUS
Microsoft has confirmed that this is a problem in BizTalk Server 2000.



MORE INFORMATION
In the BizTalk Editor, you can create fields as either XML elements or XML attributes. If you create fields as attributes, records and fields should be able to have the same name, which would result in valid XML, such as:    The problem is that the syntax checking is incorrectly flagging records and fields with the same name as invalid. Also, the syntax checking is only performed when the record is created first.

Keywords: kbbug kbpending KB276979

-

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

© Microsoft Corporation. All rights reserved.