pvg1975
asked on
Msxml2.ServerXMLHTTP.4.0 error
Hello all!
I have the following code, which works perfect on http, but after I purchased a SSL certificate, the code crashes and gives me the following error:
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'Msxml2.ServerXMLHTTP.4.0'
Here's the code:
URL="https://api2.XXXXXX.com/user/" & parameters
set httpRequest = CreateObject("Msxml2.Serve rXMLHTTP.4 .0")
httpRequest.open "GET", url, FALSE
httpRequest.send
strResponseText = httpRequest.responseText
response=strResponseText
Again, it worked perfect without the SSL certificate.
Thoughts?
Thanks!
I have the following code, which works perfect on http, but after I purchased a SSL certificate, the code crashes and gives me the following error:
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'Msxml2.ServerXMLHTTP.4.0'
Here's the code:
URL="https://api2.XXXXXX.com/user/" & parameters
set httpRequest = CreateObject("Msxml2.Serve
httpRequest.open "GET", url, FALSE
httpRequest.send
strResponseText = httpRequest.responseText
response=strResponseText
Again, it worked perfect without the SSL certificate.
Thoughts?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.