0

I try to create an object of type MSXML2.XMLHTTP.6.0 but when i call the method Open I get an error :

Object doesn't support this property or method.

Here is my code:

set objXmlHttp =  server.CreateObject("MSXML2.XMLHTTP.6.0")

objXmlHttp.Open "POST", strURL , false

I have tried using the TLS 1.2 but the same thing happens. The strURL variable receives an address with HTTPS.

Any suggestions?

user692942
  • 16,398
  • 7
  • 76
  • 175
Sebastian
  • 617
  • 2
  • 10
  • 30
  • Could do with more information, what about `strURL` is it possible to post it maybe obfuscating the host-name or something? At the moment there isn't enough information to suggest anything. See how to create a [mcve]. Also here is an [example](http://stackoverflow.com/a/37462944/692942) I posted to another question only hour ago, might help you. – user692942 May 26 '16 at 15:03
  • Are you absolutely positive the error is occurring on the `objXmlHttp.Open` line? I would suggest it is happening after when either trying to call `objXmlHttp.Send()` or retrieving the response and not getting what you expect, seen that scenario many times. – user692942 May 26 '16 at 15:18
  • What do you mean by "using the TLS 1.2"? – jveazey Jun 08 '16 at 02:47
  • At first it seemed that we could not use the new object based on the current settings, that were made through TLS 1.0. But actually it seems that this not the case and it works fine with any of the protocols. – Sebastian Jun 08 '16 at 06:55

0 Answers0