I am trying to read an xml file from message Queues and populate a couple of holding tables using NAS.
I have run the routine picking up an xml file off the c:\ and importing and it is fine. When I use Nas and the msg queues I get an error when trying to run XMLDOM.Getelementsbytagname. The event viewer message is
'This automation variable has not been instantiated. You can instantiate it by either creating or assigning it.'
I have managed to identify this as the cause but cannot identify what the fix is.
Has anyone had a similar problem or can someone provide an insight.
I wondered if it was case sensitive but I have managed to read the file if it is on my c:\ and I call the routine via a report.
Thanks
Chris
0
Comments
RIS Plus, LLC
I have been informed that there is a known problem with vb6 and xml where the xml document is tainted with ? at the start. This means that the document is unable to be read.
I have a colleague looking into a solution for me at the moment.
Cheers Anyway