sleiman
asked on
getting error in iis msxml3.dll error '80090326'
I am getting this error message:
-------------------------- ---------- ---------- ---------- ---------- -----
msxml3.dll error '80090326'
The message received was unexpected or badly formatted.
-------------------------- ---------- ---------- ---------- ---------- -----
The error is pointing to line 4 below:
1 - set ObjRequest = Server.CreateObject("MsXml 2.ServerXM LHTTP")
2 - ObjRequest.open "POST", "https://website/test.aspx", false
3 - ObjRequest.setRequestHeade r "Content-Type", "application/x-www-form-ur lencoded"
4 - ObjRequest.Send StrPostData
can someone tell me why am I getting this error?
The server has the latest updates including SP2 for Windows 2003.
--------------------------
msxml3.dll error '80090326'
The message received was unexpected or badly formatted.
--------------------------
The error is pointing to line 4 below:
1 - set ObjRequest = Server.CreateObject("MsXml
2 - ObjRequest.open "POST", "https://website/test.aspx", false
3 - ObjRequest.setRequestHeade
4 - ObjRequest.Send StrPostData
can someone tell me why am I getting this error?
The server has the latest updates including SP2 for Windows 2003.
Could you post your Code you are working with?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm having this exact same problem. I'm trying to migrate a code from an old server to a new one. So I'm really confused. I have this exact same code working on another server. Could it be a problem with a firewall blocking communication?
sPost = "<EFSnet:Request xmlns:EFSnet=""https://efsnet.concordebiz.com/EFSnet.dll"" StoreID=""winfie03"" StoreKey=""A0BACA106BD08D3 7EB25E1885 A8D37E25E8 85A010DE08 E3CF9045BE 538F5FF56" " ApplicationID=""MyCart ver 2.0""><EFSnet:CreditCardCh arge><Refe renceNumbe r>920083</ ReferenceN umber><Cas hierNumber ></Cashier Number><Tr ansactionA mount>205. 75</Transa ctionAmoun t><SalesTa xAmount>0< /SalesTaxA mount><Cur rency>USD< /Currency> <AccountNu mber>41111 1111111111 1</Account Number><Ex pirationMo nth>01</Ex pirationMo nth><Expir ationYear> 08</Expira tionYear>< CardVerifi cationValu e>321</Car dVerificat ionValue>< Track1></T rack1><Tra ck2></Trac k2><Termin alID></Ter minalID><O riginalTra nsactionID ></Origina lTransacti onID><Orig inalTransa ctionAmoun t>205.75</ OriginalTr ansactionA mount><Bil lingName>t t</BillingName><BillingAdd ress>t</Bi llingAddre ss><Billin gCity>t</B illingCity ><BillingS tate>KS</B illingStat e><Billing PostalCode >66046</Bi llingPosta lCode><Bil lingCountr y>United States</BillingCountry><Bi llingPhone >321321321 </BillingP hone><Bill ingEmail>t est@test.c om</Billin gEmail><Sh ippingName >t t</ShippingName><ShippingA ddress>t</ ShippingAd dress><Shi ppingCity> t</Shippin gCity><Shi ppingState >KS</Shipp ingState>< ShippingPo stalCode>6 6046</Ship pingPostal Code><Ship pingCountr y>United States</ShippingCountry><S hippingPho ne>3213213 21</Shippi ngPhone><S hippingEma il></Shipp ingEmail>< ClientIPAd dress></Cl ientIPAddr ess></EFSn et:CreditC ardCharge> </EFSnet:R equest>"
Set objHttp = Server.CreateObject("Msxml 2.ServerXM LHTTP")
objHttp.Open "POST",strDLLUrl, False
objHttp.setRequestHeader "Content-Type", "text/xml"
objHttp.setRequestHeader "Content-Length", Cstr(Len(sPost))
objHttp.send sPost <------------- error here!!!
sPost = "<EFSnet:Request xmlns:EFSnet=""https://efsnet.concordebiz.com/EFSnet.dll"" StoreID=""winfie03"" StoreKey=""A0BACA106BD08D3
Set objHttp = Server.CreateObject("Msxml
objHttp.Open "POST",strDLLUrl, False
objHttp.setRequestHeader "Content-Type", "text/xml"
objHttp.setRequestHeader "Content-Length", Cstr(Len(sPost))
objHttp.send sPost <------------- error here!!!
One more thing I'll add to this is the URL I'm posting to is
Quote = String(1,34)
If (TEST_MODE) Then
strDLLUrl = "https://testefsnet.concordebiz.com/EFSnet.dll"
strStoreID = concordID
strStoreKey = concordKey
Else ' Live Mode
strDLLUrl = "https://efsnet.concordebiz.com/EFSnet.dll"
strStoreID = concordID
strStoreKey = concordKey
End If
So it is possible the https is the problem with my IIS server. I don't believe I have an ssl cert installed on the server yet.
Quote = String(1,34)
If (TEST_MODE) Then
strDLLUrl = "https://testefsnet.concordebiz.com/EFSnet.dll"
strStoreID = concordID
strStoreKey = concordKey
Else ' Live Mode
strDLLUrl = "https://efsnet.concordebiz.com/EFSnet.dll"
strStoreID = concordID
strStoreKey = concordKey
End If
So it is possible the https is the problem with my IIS server. I don't believe I have an ssl cert installed on the server yet.