I am trying to import data using xml file into Tally. For that i am using below code in vb.net.

Here i am sending error file, for your ready reference.

Dim strXml As XmlTextReader
myLink = New RTSlink()
strXml = New XmlTextReader("Test.xml")
strXml.MoveToContent()
Dim n As Long = myLink.Send(strXml.ReadOuterXml(), TallyServer)

Thanks

Regards,
Pinakin

Check your XML if you have a node like <x:y></x:y>, this will cause the error message.

Sorry for not giving a more precise solution to your question. However, I found this link
http://forums.asp.net/p/1290528/2492013.aspx
you may find a better answer from that.