473,806 Members | 2,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error with XMLHTTP


Hi Group
I have a peculiar problem using the method
Server.CreateOb ject("MSXML2.Se rverXMLHTTP") in order to get a connection
from one server to another.
On my personal host (IIS) the above method works perfect, and I can
'include' an HTTP stream from a remote URL into my own page. However,
the method doesn't work on another webserver (IIS, too) although the
MSXML2.ServerXM LHTPP method is installed (I checked it).
The error message I get there is:

msxml3.dll error '80072ee2'
The operation timed out

This error does only appear if I try to get data from a remote URL, if I
try to get data from http://localhost/foo, the method works....

No, I have two questions:
- I believe the webserver is behind a proxy. Would this cause any
problems? And if so, how can it be solved?
- Do you guys know of any other solution how to 'emulate' the php
include command in ASP without using the MSXML2.ServerXM LHTTP method?

Thanks a lot for any replies
Bernhard

--
www.daszeichen.ch
remove nixspam to reply
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Jul 22 '05 #1
2 2313


Bernhard Sturm wrote:

- I believe the webserver is behind a proxy. Would this cause any
problems? And if so, how can it be solved?


See the MSXML documentation:
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/xmlsdk/html/ServerXMLHttpPr oxy.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 22 '05 #2
Martin Honnen wrote:

See the MSXML documentation:
<http://msdn.microsoft. com/library/default.asp?url =/library/en-us/xmlsdk/html/ServerXMLHttpPr oxy.asp>


thanx... I suspected something like this :-)
--
www.daszeichen.ch
remove nixspam to reply
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Jul 22 '05 #3

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

Similar topics

5
11024
by: RK | last post by:
I am getting the "HTTP /1.1 405 - method not allowed" error when I am sending XML string over Msxml2.XMLHTTP object. I am sending data in POST, also passing querystring variable and here is the code. Also error comes only sometimes. var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); xmlhttp.Open("POST", "test.aspx?qsVar="+qsVar, false); xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xmlhttp.Send(xmldoc);
39
13447
by: eruanion | last post by:
Hi, I've been working on this for a while now and I can't seem to find out what is wrong with my code. I have 2 files one c3common.js which only contains javascript functions for my main html page and my main html page which is test.html. They are of course part of a much bigger system of files but i have tracked down the problem to that reduced part of the code. The page loads perfectly fine however when i click search i get the error...
4
6923
by: mirandacascade | last post by:
O/S : Win2K vsn of Python: 2.4 Hoping to find information that provide information about error messages being encountered. Pythonwin session: Traceback (most recent call last): File "<interactive input>", line 1, in ?
1
11004
by: thuy | last post by:
Hi, I am new to AJAX. This is my first project with AJAX and I am getting error "system error -1072896748" when I try to get the xmlhttp.responsetext my html page: <body onLoad="sendReq(url, stateChanged);"> <div id="txtOut">This will be replaced by xmlhttp.responsetext </div> my .js:
7
3624
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
4
2257
by: raknin | last post by:
Hi, I am creating dynamic list in the server through php and insert it using ajax. for ajax I using the following statement: document.getElementById(list_name_id).innerHTML=xmlHttp.responseText ; until now everything is OK the list is builds correctly. but when I use the document.getElementById(call_list_id).options.value I got an error saing "value is null or it is not an object" It seems that object list ID is null. Although...
20
9116
by: vjayis | last post by:
hi when i m trying to fetch data from one page to another page using ajax, i get an error message in IE., but it runs well in firefox., could anyone help me., here is my javascript code., <script type="text/javascript"> var id; var action; function httprequest(id,action) {
8
5611
by: ananjy | last post by:
Hi when i m trying to execute my ajax code using a link to display datas from another page named second.php., i got an error when the page loads in "ie"., which runs perfectly in firefox., here is my code <script type="text/javascript"> var i;
6
2165
omerbutt
by: omerbutt | last post by:
hi there i am getting error in the statechange function .I am using html,ajax,php and mysql,it was running smooth and at once it started giving error here is the code function prof_info(fobj){ var vld_inp=Get_Prof_Info(fobj,"validate"); xmlHttp=GetXmlHttpObject(); if(xmlHttp!=null){ xmlHttp.onreadystatechange=StateChangeA; xmlHttp.open("POST","prof_save.php",true);...
21
3906
vikas251074
by: vikas251074 | last post by:
I am getting error while entry in userid field. When user enter his user id, an event is fired immediately and user id is verified using AJAX method. But I am getting error 'Object doesn't support this property or method'. <form name="myform" action="main.asp" method="post"> <div id="content"> <h2 id="pageName">Main Page</h2> <div class="feature"> <h1>Surfing the intranet </h1> <p> This is a comprehensive information...
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10369
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10372
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.