MSXML “The system cannot locate the resource specified”

后端 未结 2 947
执笔经年
执笔经年 2021-01-12 03:46

I have a function which uses MSXML to post an XML document which yesterday started failing despite no change being made to the code. The function is as follows:



        
相关标签:
2条回答
  • 2021-01-12 04:40

    If you are just processing the xml or dtd is offline, you can use: xmlDoc.resolveExternals = False

    0 讨论(0)
  • 2021-01-12 04:43

    It turned out to be a networking issue - I didn't suspect this at first as the error was raised so quickly which didn't suggest an issue with the endpoint. The problem was with a rule which had been added (don't ask why) to the firewall preventing communication with the destination address.

    0 讨论(0)
提交回复
热议问题