Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Resolving the "Specify a valid .NET type name for this root node. The current .NET type name of this root node is invalid (it is a reserved BizTalk Keyword or is an invalid C# identifier)." error.

Back to Forum: Tech Off
  • User profile image
    Mauricio Feijo


    For the last couple of years I circled around to come be very focused on BizTalk again, and while not sure I have seen this error before back in the day or not, it seemed new to me.

    Searching for the error online did not yield any results, other than unrelated posts. Seems there is an issue when integrating with Web Services that will cause this error message as well, but that wasn't my case. I am integrating PeopleSoft 9.2  Integration Broker HTTP to FlexNet MES using MSMQ. No web services involved.

    Turns out the issue was the FlexNet schema root node has periods on its name, and BizTalk do not like that a bit. When trying to create .NET types behind the scenes it cannot deal with the periods.

    The fix is to change the RootNode TypeName property of the rootnode. Visual Studio will default that property to the Root Node name. If we change the periods to underscores, or otherwise remove them, BizTalk can now create .NET types and the issue goes away.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.