Link to home
Start Free TrialLog in
Avatar of sleiman
sleimanFlag for United States of America

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("MsXml2.ServerXMLHTTP")
2 - ObjRequest.open "POST", "https://website/test.aspx", false
3 - ObjRequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
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.



Avatar of ComputerTechie
ComputerTechie
Flag of United States of America image

Could you post your Code you are working with?
ASKER CERTIFIED SOLUTION
Avatar of sleiman
sleiman
Flag of United States of America 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
Avatar of rdunn5162
rdunn5162

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=""A0BACA106BD08D37EB25E1885A8D37E25E885A010DE08E3CF9045BE538F5FF56"" ApplicationID=""MyCart ver 2.0""><EFSnet:CreditCardCharge><ReferenceNumber>920083</ReferenceNumber><CashierNumber></CashierNumber><TransactionAmount>205.75</TransactionAmount><SalesTaxAmount>0</SalesTaxAmount><Currency>USD</Currency><AccountNumber>4111111111111111</AccountNumber><ExpirationMonth>01</ExpirationMonth><ExpirationYear>08</ExpirationYear><CardVerificationValue>321</CardVerificationValue><Track1></Track1><Track2></Track2><TerminalID></TerminalID><OriginalTransactionID></OriginalTransactionID><OriginalTransactionAmount>205.75</OriginalTransactionAmount><BillingName>t t</BillingName><BillingAddress>t</BillingAddress><BillingCity>t</BillingCity><BillingState>KS</BillingState><BillingPostalCode>66046</BillingPostalCode><BillingCountry>United States</BillingCountry><BillingPhone>321321321</BillingPhone><BillingEmail>test@test.com</BillingEmail><ShippingName>t t</ShippingName><ShippingAddress>t</ShippingAddress><ShippingCity>t</ShippingCity><ShippingState>KS</ShippingState><ShippingPostalCode>66046</ShippingPostalCode><ShippingCountry>United States</ShippingCountry><ShippingPhone>321321321</ShippingPhone><ShippingEmail></ShippingEmail><ClientIPAddress></ClientIPAddress></EFSnet:CreditCardCharge></EFSnet:Request>"

Set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
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.