Discussion:
msxml3.dll error '80072efd' , Please help!
(too old to reply)
Anders Brohäll
2005-06-14 14:47:25 UTC
Permalink
Hi,

Ive implemented a call to a XML host in ASP via MSXML2.ServerXMLHTTP
The object sets ok, and the call opens alright.
Even the .send() worked fine, but a couple of days ago it stopped
working. I havnt changed the code, nor the firewall or proxy settings on
the 'local' server. The XML host does get calls from other servers then
mine, that works fine.

Why does this happen? How do i solve it?

I really need help with this,


Best regards

Anders Brohäll
TDCNova/Generation V




The code is as follows, where sQuery is OK (works locally in the XML
hosts network):


'callelite.asp

Dim srvXmlHttp,XMLElement
Dim sUrl
Dim sQuery

Set srvXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")

sUrl = "https://test.paynova.com/ws/payment/cc/request.asmx/paymentrequest"
sQuery =
"merchant_id=217999&merchant_orderid=6%2F13%2F2005+2%3A53%3A55+PM%3A+emmfil57&merchant_orderdata=3+mnaders+medlemskap&merchant_notify_page=https%3A%2F%2Fwww%2Egenerationv%2Ese%2Fgenerationv%2Ftest%5Fpaynova%2Easp%3Fmerchant%5Fnotify%5Fpage&merchant_redirect_url_ok=https%3A%2F%2Fwww%2Egenerationv%2Ese%2Fgenerationv%2Ftest%5Fpaynova%2Easp%3Fmerchant%5Fredirect%5Furl%5Fok&merchant_redirect_url_cancel=https%3A%2F%2Fwww%2Egenerationv%2Ese%2Fgenerationv%2Ftest%5Fpaynova%2Easp%3Fmerchant%5Fredirect%5Furl%5Fcancel&merchant_channel=1&merchant_channelid=6%2F13%2F2005+2%3A53%3A55+PM%3A+emmfil57%2C+Frlngning+av+medlemskap&cardholder_email=emmfil57%40generationv%2Ese&cardholder_httpaccept=image%2Fgif%2C+image%2Fx%2Dxbitmap%2C+image%2Fjpeg%2C+image%2Fpjpeg%2C+application%2Fvnd%2Ems%2Dpowerpoint%2C+application%2Fvnd%2Ems%2Dexcel%2C+application%2Fmsword%2C+application%2Fx%2Dshockwave%2Dflash%2C+%2A%2F%2A&cardholder_useragent=Mozilla%2F4%2E0+%28compatible%3B+MSIE+6%2E0%3B+Windows+NT+5%2E1%3B
+SV1%3B+%2ENET+CLR+1%2E1%2E4322%29&cardholder_phone=&cardholder_address1=Atlasgatan+8&cardholder_zip=11438&cardholder_city=Stockholm&cardholder_country=se&cardholder_language=SWE&cardholder_ip=213%2E115%2E152%2E212&pay_prodid=&cc_no=5105105105105100&pay_currency=SEK&pay_contracttext=Medlemskap%3A+3+mnader&cc_expiremmyy=0207&cc_magnetic_track_2=0&cc_cvc=150&cc_cardholdername=Emma+Filipsson&pay_cents=200&checksum=1A1C79943D3C38CEE67585D1D7233F62"


Call srvXmlHttp.Open("POST", sUrl, false)
srvXmlHttp.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"

Call srvXmlHttp.Send(sQuery)

While srvXmlHttp.readyState <> 4
srvXmlHttp.waitForResponse (1000)
Wend

response.write(srvXmlHttp.responseText)

Set srvXmlHttp = nothing
Martin Honnen
2005-06-17 13:37:52 UTC
Permalink
Post by Anders Brohäll
Call srvXmlHttp.Open("POST", sUrl, false)
srvXmlHttp.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
Call srvXmlHttp.Send(sQuery)
While srvXmlHttp.readyState <> 4
srvXmlHttp.waitForResponse (1000)
Wend
It is a bit unusual that you make a synchronous blocking request but
nevertheless check the readyState, it seems an asynchronous request
srvXmlHttp.Open "POST", sUrl, True
is more what you want.
Whether that solves the problem I don't know, when you get the error for
what line do you get it?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Anders Brohäll
2005-06-17 14:19:42 UTC
Permalink
I get the error on row 20: "srvXmlHttp.waitForResponse (1000)"
(A connection with the server could not be established)

Good or bad?


I really apriciate you helping me!

Best regards,
Anders Brohäll
Post by Martin Honnen
Post by Anders Brohäll
Call srvXmlHttp.Open("POST", sUrl, false)
srvXmlHttp.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
Call srvXmlHttp.Send(sQuery)
While srvXmlHttp.readyState <> 4
srvXmlHttp.waitForResponse (1000)
Wend
It is a bit unusual that you make a synchronous blocking request but
nevertheless check the readyState, it seems an asynchronous request
srvXmlHttp.Open "POST", sUrl, True
is more what you want.
Whether that solves the problem I don't know, when you get the error for
what line do you get it?
Martin Honnen
2005-06-18 11:37:04 UTC
Permalink
Post by Anders Brohäll
I get the error on row 20: "srvXmlHttp.waitForResponse (1000)"
(A connection with the server could not be established)
Good or bad?
If that is VBScript code wouldn't you need to remove the parentheses
e.g. use
srvXmlHttp.waitForResponse 1000
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Anders Brohäll
2005-06-20 12:45:42 UTC
Permalink
Its ASP.
I think the parantheses should be there.
No difference anyway

Same response.

Any other ideas?


Anders Brohäll
Post by Martin Honnen
Post by Anders Brohäll
I get the error on row 20: "srvXmlHttp.waitForResponse (1000)"
(A connection with the server could not be established)
Good or bad?
If that is VBScript code wouldn't you need to remove the parentheses
e.g. use
srvXmlHttp.waitForResponse 1000
Anders Brohäll
2005-06-23 12:41:11 UTC
Permalink
Anyway,

The code works FINE on another computer, inside the XML'hosts intranet.
Could it be a firewall problem?


Anders
Post by Anders Brohäll
Its ASP.
I think the parantheses should be there.
No difference anyway
Same response.
Any other ideas?
Anders Brohäll
Post by Martin Honnen
Post by Anders Brohäll
I get the error on row 20: "srvXmlHttp.waitForResponse (1000)"
(A connection with the server could not be established)
Good or bad?
If that is VBScript code wouldn't you need to remove the parentheses
e.g. use
srvXmlHttp.waitForResponse 1000
Martin Honnen
2005-06-23 13:52:20 UTC
Permalink
Post by Anders Brohäll
The code works FINE on another computer, inside the XML'hosts intranet.
Could it be a firewall problem?
Could be a proxy problem, you need to configure proxy settings, see
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/8214dcb7-7a53-4a8c-b91a-02772c06ad7d.asp>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
eloise green
2005-08-07 12:04:00 UTC
Permalink
hi im eloise im avin a problem on my msn it says sorry we are unable to
sighn u in to msn messenger at this time pls try again l8ter an thn it
gives u a code like 80072efd wich is realy anoyin coz even when i tryed
it again it JUST DID THE SAME wat AM I SURPOSSED TO DO !!!!n its
nothin to do with my conection coz thats fine!n i can sighn on to my old
msn but thats crap neway sum1 help me?!

*** Sent via Developersdex http://www.developersdex.com ***
Jon Sweet
2005-08-17 13:39:01 UTC
Permalink
My msn wont work.. it wont let me sign in and it doesnt let my old one
either.....

*** Sent via Developersdex http://www.developersdex.com ***

zakiya siddique
2005-07-19 18:56:14 UTC
Permalink
*** Sent via Developersdex http://www.developersdex.com ***
Loading...