Distinguished fields null object reference exception

Home Page Forums BizTalk 2004 – BizTalk 2010 Distinguished fields null object reference exception

Viewing 1 reply thread
  • Author
    Posts
    • #17552

      hi everybody,

      i have the following problem that i need help with:

      i have set a distinguished field inside my schema (StatusCode).

      inside my orchestration i am checking the value of StatusCode inside a Decide shape as follows:

      msg.Node.SubNode.StatusCode == 0

      i build the orchestration and every thing worked fine. however at runtime, once the flow reaches the shape, i find the below error inside the event log:

      Exception type: NullReferenceException

      Source: Microsoft.XLANGs.RuntimeTypes

      Target Site: Microsoft.XLANGs.RuntimeTypes.DistinguishedFieldDefinition GetDistinguishedFieldDefinition(System.String)

    • #17553

      Are you using the XML Receive pipeline in your receive location?

      • #17571

        hi jon,

        thanks for your reply…

        actually i have just found out that the problem was actually that when i changed my schema to add distinguished fields, i redeployed the schema but it was not cleared from the GAC…I thought that by redeploying from VS.NET the dll would also be redeployed in the GAC…

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