Renaming schemas in a BizTalk Server project may not work as expected (838693)



The information in this article applies to:

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

SYMPTOMS

If you rename a schema in a Microsoft BizTalk Server 2006 project or in a Microsoft BizTalk Server 2004 project, the new name does not appear in the BizTalk Type Picker dialog box.

CAUSE

When you rename a schema in Solution Explorer, only the File Name property of the schema is affected. The Type Name property remains unchanged.

WORKAROUND

To work around this problem, change the Type Name property of the schema in the schema Properties dialog box to correspond to the changed file name.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

  1. In Microsoft Visual Studio .NET 2003, create a new BizTalk 2004 project.
  2. Add two schemas to the project. By default, the schemas are named Schema1 and Schema2.
  3. In Solution Explorer, rename the two schemas as SchemaA and SchemaB.
  4. Add a map to the BizTalk Server project, and then open the map.
  5. On the map, click the Open Source Schema link to open the BizTalk Type Picker dialog box.
  6. In the BizTalk Type Picker dialog box, expand Schemas. Note that the schema names have not changed. They appear as follows:
    • <project name>.Schema1
    • <project name>.Schema2

Modification Type:MajorLast Reviewed:8/22/2006
Keywords:kbbiztalk2004-2006swept kbprb KB838693 kbAudDeveloper