Link to home
Start Free TrialLog in
Avatar of pvg1975
pvg1975Flag for Argentina

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.ServerXMLHTTP.4.0")
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
Avatar of pvg1975
pvg1975
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial