473,489 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASM and XMLHTTP problem


Hi

Do we need to install any package on the IIS server to work on th
Microsoft.XMLHTTP object

I have pasted a piece of code from my ASP file
-------------------------------------------------------------------

Set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")

strUR
="https://secure.cardia.no/Cardia.Services/Component/Transaction.asmx/PrepareTransaction?
& "merchantToken=" & strmerchantToken & "&store=" & strstore
"&orderDescription=" & strorderDescription & "&merchantReference="
strmerchantReference & "& currencyCode=" & strcurrencyCode
"&successfulTransactionUrl=" & strsuccessfulTransactionUrl
"&unsuccessfulTransactionUrl=" & strunsuccessfulTransactionUrl
"&amount=" & stramount & "&skipFirstPage=" & strskipFirstPage
"&skipLastPage=" & strskipLastPage & "&isOnHold=" & strisOnHold
"&useThirdPartySecurity=" & struseThirdPartySecurity
"&paymentMethod=" & strpaymentMethod
objHTTP.open "GET", strURL, False
objHTTP.send
---------------------------------------------------------------------

I get an error at the line objHTTP.send
Is there anything to be configured on the IIS server to enable workin
on this object

Regards

Santhosh
-
sancee7
-----------------------------------------------------------------------
Posted via http://www.webservertalk.co
-----------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message166177.htm

Jul 19 '05 #1
2 1679
sancee77 wrote:
Hi

Do we need to install any package on the IIS server to work on the
Microsoft.XMLHTTP object

I have pasted a piece of code from my ASP file
-------------------------------------------------------------------

Set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")

strURL
="https://secure.cardia.no/Cardia.Services/Component/Transaction.asmx/Prepar
eTransaction?" & "merchantToken=" & strmerchantToken & "&store=" & strstore &
"&orderDescription=" & strorderDescription & "&merchantReference=" &
strmerchantReference & "& currencyCode=" & strcurrencyCode &
"&successfulTransactionUrl=" & strsuccessfulTransactionUrl &
"&unsuccessfulTransactionUrl=" & strunsuccessfulTransactionUrl &
"&amount=" & stramount & "&skipFirstPage=" & strskipFirstPage &
"&skipLastPage=" & strskipLastPage & "&isOnHold=" & strisOnHold &
"&useThirdPartySecurity=" & struseThirdPartySecurity &
"&paymentMethod=" & strpaymentMethod
objHTTP.open "GET", strURL, False
objHTTP.send
---------------------------------------------------------------------

I get an error at the line objHTTP.send

What error????
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2
What error do you get?

Try "MSXML2.ServerXMLHTTP"

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"sancee77" <sa*************@mail.webservertalk.com> wrote in message
news:sa*************@mail.webservertalk.com...

Hi

Do we need to install any package on the IIS server to work on the
Microsoft.XMLHTTP object

I have pasted a piece of code from my ASP file
-------------------------------------------------------------------

Set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")

strURL
="https://secure.cardia.no/Cardia.Services/Component/Transaction.asmx/Prepar
eTransaction?" & "merchantToken=" & strmerchantToken & "&store=" & strstore &
"&orderDescription=" & strorderDescription & "&merchantReference=" &
strmerchantReference & "& currencyCode=" & strcurrencyCode &
"&successfulTransactionUrl=" & strsuccessfulTransactionUrl &
"&unsuccessfulTransactionUrl=" & strunsuccessfulTransactionUrl &
"&amount=" & stramount & "&skipFirstPage=" & strskipFirstPage &
"&skipLastPage=" & strskipLastPage & "&isOnHold=" & strisOnHold &
"&useThirdPartySecurity=" & struseThirdPartySecurity &
"&paymentMethod=" & strpaymentMethod
objHTTP.open "GET", strURL, False
objHTTP.send
---------------------------------------------------------------------

I get an error at the line objHTTP.send
Is there anything to be configured on the IIS server to enable working
on this object

Regards

Santhosh S

--
sancee77
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message166177.html

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3240
by: Krzysztof Kubiak | last post by:
I'm trying to make use of XMLHTTP object, but I've come across a problem. It seems that there is no way to create dynamic array of such XMLHTTP objects (to make several requests) and handle them...
9
5547
by: fochie | last post by:
Greetings, I'm having a problem when I try to GET a file from my server via xmlhttp when using Mozilla. With IE I can get any type of file fine, get/display headers fine, etc. With Mozilla,...
12
13757
by: Botan Guner | last post by:
Hi all, Here is the problem, i'm using Microsoft.XMLHTTP for ie and XMLHttpRequest for mozilla, on my local server which is win2000 server i've no problem with that but when i uploaded the file...
6
10437
by: Vanessa | last post by:
I have a question regarding async mode for calling Microsoft.XMLHTTP object. Microsoft.XMLHTTP hangs the IE once in a while suddenly, but it will work again after half an hour or so without doing...
9
2360
by: balakrishnan.dinesh | last post by:
hi friends, Exactly what i want to know is, In my product we are using xmlhttp request to retrive some data from the server, And Im using IE browser, its working fine in IE. Now i want to work...
1
7368
by: KoosJaspers | last post by:
I have a remarkable problem. Opening a file using xmlhttp works perfectly. The responseText output is read, since it can be assigned to an alert() message, as follows : alert(xmlhttp.resposeText)...
4
8259
by: sirjohnofthewest | last post by:
If I possessed the power to sway the mind of every user in the world to delete all forms of Internet Explorer I would die a happy man. Hi guys, I frequently visit this site to get answers to my...
1
3058
by: Sand Yaah | last post by:
i went thru a discussion put by eros and helped out by dmjpros. d questions asked were right and i tried each but there was no problem there. my code returns null in xmlHttp.responseXML and...
3
2564
by: Andrewh | last post by:
Hi, I am having a bit of a problem with using xmlhttp. The code of the javascript file is shown below used in Windows XP. var xmlhttp = null; function SetURLDiv(url) { if...
2
12443
by: trpost | last post by:
Is it possible to execute javascript as passed in xmlHttp.responseText Here is what I am doing: search.js var xmlHttp xmlHttp=GetXmlHttpObject() var url="search.php"...
0
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.