XML and NAS

ToadyToady Member Posts: 3
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

Comments

  • DenSterDenSter Member Posts: 8,307
  • ToadyToady Member Posts: 3
    Sorry Denster should've stated that I creat the xml document.

    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
Sign In or Register to comment.