473,388 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Problem with XMLHTTP component

This has been driving me mad for a few days now. I've got a page called
test.asp that contains some simple code:

<%
if Request.Form("find")<> "" then
url=cstr(Request.Form("find"))
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Call the remote machine the request
objXML.open "POST", url, False
objXML.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXML.send()
Response.write objXML.responsetext
end if
%>

and I've uploaded it to 2 servers:

http://www.barrowhillsschool.co.uk/test.asp
http://www.charon.co.uk/test.asp

If one clicks the submit button one each page, the content from my homepage
is correctly shown. Now, here comes the problem. Type this URL into the
textbox on both pages and click submit.

http://www.barrowhillsschool.co.uk/index.asp

It works OK on my server, but gives an error on the other:

msxml3.dll error '80072efd' A connection with the server could not be
established

So, it seems that the specific issue is that on the Barrowhills server, when
using a Barrowhills URL the XML component throws an error. Anyone got any
ideas on this? Smells like a firewall issue to me.
--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004

Jul 19 '05 #1
1 3289
See if you can ping the address on your server. I think it is most likely a
firewall/routine issue on the server.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Julian Roberts" <ne**@charon.co.uk> wrote in message
news:OX**************@TK2MSFTNGP09.phx.gbl...
This has been driving me mad for a few days now. I've got a page called
test.asp that contains some simple code:

<%
if Request.Form("find")<> "" then
url=cstr(Request.Form("find"))
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Call the remote machine the request
objXML.open "POST", url, False
objXML.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded" objXML.send()
Response.write objXML.responsetext
end if
%>

and I've uploaded it to 2 servers:

http://www.barrowhillsschool.co.uk/test.asp
http://www.charon.co.uk/test.asp

If one clicks the submit button one each page, the content from my homepage is correctly shown. Now, here comes the problem. Type this URL into the
textbox on both pages and click submit.

http://www.barrowhillsschool.co.uk/index.asp

It works OK on my server, but gives an error on the other:

msxml3.dll error '80072efd' A connection with the server could not be
established

So, it seems that the specific issue is that on the Barrowhills server, when using a Barrowhills URL the XML component throws an error. Anyone got any
ideas on this? Smells like a firewall issue to me.
--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004

Jul 19 '05 #2

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

Similar topics

2
by: sancee77 | last post by:
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...
2
by: Jason Morehouse | last post by:
Hello, Anyone know if it's possible to speak with the server via xmlhttp.open while the browser is doing a post -- file upload in this case: <form enctype="multipart/form-data"...
9
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,...
2
by: jw56578 | last post by:
I request a response with xmlhttp. I'm testing it on mozilla and explorer. mozilla returns "undefined" unless i "alert" the value of the response first. explorer works fine. what is the problem.
2
by: Martin Feuersteiner | last post by:
Dear Group Sorry for this basic question. I'm having a script that requires the Microsoft XMLHTTP component. I'd a look for this component on my machine and referenced system.xml in desperation...
4
by: Dave H | last post by:
I want to use XMLHTTP or something like it from my server code. I'm trying to call a web page, and I want the results back into a string. ideas? Thanks, Dave
42
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox...
1
by: Dave H | last post by:
First.. What object (on the client) should I be using these days? var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); or var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); or maybe...
13
by: yawnmoth | last post by:
<http://www.quirksmode.org/book/printable/xmlhttp.txtshows two alternatives to Microsoft.XMLHTTP - Msxml2.XMLHTTP and Msxml3.XMLHTTP. If my understanding is correct, the different numbers refer to...
5
by: Prasad | last post by:
Hi all, I wanted to know whether my page is connecting to server or not using xmlHttp request. For that , I am using one condition in onreadystatechange function as.. function xxx() {...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.