Error from VB excel macro code - msxml3.dll -2146697211 The system cannot locate the resource specified

后端 未结 4 1231
闹比i
闹比i 2020-12-04 03:31

I am using an MSXML.HTTPRequest object in a VB macro (excel) to communicate with an HTTP server. The problem is that it throws the following error intermittentl

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-04 04:30

    For now I was able to solve this by changing the method from GET to POST. The error was intermittent but fortunately it started showing up on my dev machine once, and changing the HTTP method to POST did the trick. It's very odd that should happen though, but it worked.

提交回复
热议问题