You might have received this error message if you followed these steps:

  1. Install BizTalk 2004 on a clean machine with Visual Studio .NET 2003,
  2. Start Visual Studio and Create a new C# project (Windows Application for instance),
  3. Save the solution/Project,
  4. Right click on the project name in the solution explorer and select "Add-> New Item ...",
  5. Click "Data Set" and press "OK",

You see the following error message (the path under the white box is the path to the XSD that has been created when you inserted the DataSet):

 

When you install BizTalk, there is a component called "BizTalk developer tools". This component contains all the logic to integrate with Visual Studio .NET 2003: pipeline designer, BizTalk Explorer and among many other things, a schema editor.

The error you are seeing is because the BizTalk Editor is trying to edit a DataSet schema and got confused. To workaround this, you have to ensure that DataSet schemas are opened with the Visual Studio Schema Editor and not the BizTalk Schema Editor. Here are two different workarounds:

  1. Bypass the BizTalk Schema Editor  when editing the schema (works around the problem once)
  2. Reset the default editor to the Visual Studio Schema Editor instead of the BizTalk Schema editor (puts the Visual Studio Schema Editor back as the default XSD editor)
Bypass the BizTalk Schema Editor when editing the DataSet:
  1. Open the solution in VS.NET 2003
  2. Insert the DataSet as explained above (steps 4 and 5). You see the error, but you also see that the DataSet item was created and added to the solution explorer
  3. Click "OK" to close the error box
  4. In the solution explorer, locate the schema and right click on it
  5. Select "Open With ..."
  6. In the dialog box, select "XML Schema editor" and click "Open"
Set the Visual Studio Schema Editor back to default editor:
  1. Follow the steps 1 to 5 above
  2. In the "Select XML Schema Editor" dialog box, select "XML Schema Editor" and click "Set as default".
  3. Press OK to open the DataSet

 

Ravi, I hope this page helped you in case you missed my answer in another group.