Hi,
I am trying to run a sample code for the AIM Classic ASP. I did not change the code except for the values for x_login and x_tran_key.
The error message I'm getting is:
msxml3.dll error '800c0008'
System error: -2146697208.
Now, I've also tried to run a sample for the PHP version and that works fine.
What am I missing for the ASP sample?
Thanks,
Won
Solved! Go to Solution.
11-08-2010 07:13 AM - edited 11-08-2010 07:18 AM
Sorry, version 3 doesn't support SSL....use this one:
"MSXML2.ServerXMLHTTP.4.0"
If you still get the error, you can try using the IServerXMLHTTPRequest setOption method to set this flag:
"SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS"
CAVEAT: I don't fully know the ramifications of setting this flag. Do you're homework on it to make sure it doesn't affect anything else in your app.
11-11-2010 08:54 AM - edited 11-11-2010 08:57 AM
Hi Won,
This could be related to the server you are using. Try changing the following line of code in the sample:
Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")
to
Set objRequest = Server.CreateObject("MSXML2.ServerXMLHTTP")
Thank you,
Elaine
11-10-2010 01:41 PM
Allow me to also recommend that you use "MSXML2.ServerXMLHTTP.3.0" for ASP pages.
11-10-2010 09:07 PM
Hey, thanks so much for your help, Elaine! But unfortunately I'm getting a different error message now with your suggestion:
msxml3.dll error '80072f0d'
The certificate authority is invalid or incorrect
Thanks,
Won
11-11-2010 07:01 AM
11-11-2010 07:05 AM
Sorry, version 3 doesn't support SSL....use this one:
"MSXML2.ServerXMLHTTP.4.0"
If you still get the error, you can try using the IServerXMLHTTPRequest setOption method to set this flag:
"SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS"
CAVEAT: I don't fully know the ramifications of setting this flag. Do you're homework on it to make sure it doesn't affect anything else in your app.
11-11-2010 08:54 AM - edited 11-11-2010 08:57 AM
Thanks again for your help. I didn't really know how to set the flag variable you suggested, so I did some research and figured out a way. I've modified the code a little and was able to get it to work!! Thanks for ALL your help!!
11-11-2010 10:26 AM
09-13-2012 03:15 PM