Error in schema validation – Specify a valid .NET type name

Home Page Forums BizTalk 2004 – BizTalk 2010 Error in schema validation – Specify a valid .NET type name

Viewing 1 reply thread
  • Author
    Posts
    • #12798

      Hi,

      In a new BizTalk 2004 project, I’ve imported a schema from an international specification (JDF).

      When I try to validate this file, Visual Studio gives me the following error:C:\\Documents and Settings\\Biztalk\\My Documents\\Visual Studio Projects\\JDFWorkFlow2\\JDFDefinitions\\JDF.xsd Node \”AbstractStates\” – Specify a valid .NET type name for this root node. The current .NET type name of this root node is a duplicate.

      J’ve found some informations on web. The unique solution seems to remain the xsd files.

      [1] What is the .NET type name?
      [2] I can’t rename the xsd files- another solution?

      Thanks
      Raoul

    • #12797

      All biztalk schema get turned into C# classes (a class is one of the .NET types, such as class, structure, enum, interface).

      Click on the .xsd file in Solution Explorer, the property window shows you the \”Type Name\” property – make sure it doesn’t have any weird characters or blanks in it.

      To explore more, create a simple schema, compile it, then use the .NET ILDASM utility (Intermediate Language Disassembler) to view the .DLL. You can then see the manifest and typenames.

      There even a free download utility that will capture and save the C# code that Biztalk generates (normally Biztalk generates it, compiles the code, then deletes it).

      Neal Walters
      http://Biztalk-Training.com – Learn Biztalk Via Self-Study Videos

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.