error btm1046: Output validation error: Root element is missing.

Home Page Forums BizTalk 2004 – BizTalk 2010 error btm1046: Output validation error: Root element is missing.

Viewing 3 reply threads
  • Author
    Posts
    • #17869

      Hi,

      I'm getting "error btm1046: Output validation error: Root element is missing." when I was mapping xml document to IDoc schema that was generated from VS 2005. Any idea why I'm getting this error.

       I would appreciate your help.

      Thanks,

      Sam

    • #17873

      Sounds like your message is empty… You can check that by writing your message (right before performing the map) to the Eventlog.

      • #17874

        Hi,

         Thanks for your reply. How do I write the message to event log. Though I'm sure I have data in the input file, I want to test the way you said.

         

        Thanks,

        Sam

        • #17875

          Sam,

          – Create a variable of type XmlDocument (say:xdoc)
          – assign the message to the variable (xdoc = yourmessage)
          – write the xml to the Eventlog (System.Diagnostics.Eventlog.WriteEntry(xdoc.OuterXml, "EventlogSource");)

          Good luck!
          Lex

           

      • #18199

        Hoi Lex,

         

        Ik kreeg een mailtje can je via <[email protected]> . Geef me je e-mailadres eens, dan kan ik je even berichten.

         

        Gr. Hans Bladergroen 

    • #17889
    • #17911

      See if the article below helps you.

      http://biztalkblogs.com/nishil/archive/2006/12/21/1543.aspx

       

      I typed in the above stuff.without going through thread..Stephen has configured the post in such a way that nobody can delete it.

      Stehpen.. seems u shd give users permission to delete their post at any time.

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