473,721 Members | 2,067 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xmlhttp error

Hi

i am using xmlhttp object in my js & asp.net code, ie working fine and
when i give response it always throwing the below exception after
giving response, it want to come out of this

"Thread was being aborted"

try
{
----------
---------
Response.Clear( );
Response.Write( retVal);
Response.End();
}
catch (Exception exp)
{
WriteLog("e :: " + exp.ToString()) ;
}

Dec 7 '05 #1
7 2858
VK

sudhaoncyberwo. ..@gmail.com wrote:
Hi

i am using xmlhttp object in my js & asp.net code, ie working fine and
when i give response it always throwing the below exception after
giving response, it want to come out of this

"Thread was being aborted"


Trying myself for the first time as a News Cop:

1. Please do not start new thread (even under other names).

2. This newsgroup doesn't deal with server-side ASP - choose an
appropriate group for it.

3. Google is your friend:
a) go to <http://www.google.com>
b) copy'n'paste "Thread was being aborted" and click Search
c) check the results on the first page.
The 4th one will bring you to
<http://p2p.wrox.com/topic.asp?TOPIC _ID=5989>

P.S. Did I like to be a cop? I donno... rather strange feeling... may
need to try more. :-)

Dec 7 '05 #2
Thanks a lot and pl excuse me for my mistakes

Dec 8 '05 #3
VK wrote:
sudhaoncyberwo. ..@gmail.com wrote:
i am using xmlhttp object in my js & asp.net code, ie working fine and
when i give response it always throwing the below exception after
giving response, it want to come out of this

"Thread was being aborted"
Trying myself for the first time as a News Cop:


And succeeded :-/
1. Please do not start new thread (even under other names).
Utter nonsense. Without new threads there would not be much discussion
here, would it? Proper advice is that you should continue an existing
thread iff the question or problem you have has a strong relationship to
it.
2. This newsgroup doesn't deal with server-side ASP - choose an
appropriate group for it.
That is not entirely true. ASP (ever seen it client-side?) is a CGI
application platform that allows resources to be generated through a
number of programming languages, including Microsoft JScript, which is
on-topic here, being a JavaScript-related ECMAScript implementation.

Especially using MSXML to access resources is a JScript-related feature
of the Microsoft AOM/DOM (ref.: AJAX.) However, the way it is used in
this case indicates access through a programming language that is not
JScript, maybe VBScript.
P.S. Did I like to be a cop? I donno... rather strange feeling... may
need to try more. :-)


Please don't.
PointedEars
Dec 8 '05 #4
Thomas 'PointedEars' Lahn <Po*********@we b.de> writes:
ASP (ever seen it client-side?) is a CGI application platform ....
To be pedantic, and we wouldn't want to miss a chance for that,
ASP is a different platfrom from CGI (Common Gateway Interface).
<URL:http://hoohoo.ncsa.uiu c.edu/cgi/>

They do have similar purposes:: generating dynamic pages...
that allows resources to be generated through a number of
programming languages, including Microsoft JScript, which is
on-topic here, being a JavaScript-related ECMAScript implementation.


ASP is a later generation of server-side framework than CGI.
CGI is pretty much the bare bone "when receiving this request,
call this program to get the response". CGI programs runs as
stand-alone programsthat generate raw HTTP the.
The ASP framework is more supporting and container like, and can, e.g,
support a session independenly of the scripting language. A CGI
program must maintain its own state independenly of the web server.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Dec 9 '05 #5
Lasse Reichstein Nielsen wrote:
Thomas 'PointedEars' Lahn <Po*********@we b.de> writes:
ASP (ever seen it client-side?) is a CGI application platform

...
To be pedantic, and we wouldn't want to miss a chance for that,
ASP is a different platfrom from CGI (Common Gateway Interface).
<URL:http://hoohoo.ncsa.uiu c.edu/cgi/>


To be pedantic, I wrote "CGI application platform", not "CGI platform".
AIUI, the underlying implementation of all HTTP-related server-side
platforms has to be a CGI implementation.
PointedEars
Dec 9 '05 #6
Thomas 'PointedEars' Lahn wrote:
To be pedantic, I wrote "CGI application platform", not "CGI
platform". AIUI, the underlying implementation of all HTTP-related
server-side platforms has to be a CGI implementation.


Not true. CGI is the "Common Gateway Interface", and it's one way for
servers to package up the request and put things into environment variables,
etc for applications to retrieve. This is a server-side function, and there
is no requirement that a server-side application need implement this
interface. An HTTP server or application may take a raw request and do with
it whatever it wants.

ASP is not a "CGI application platform" because it does not use the Common
Gateway Interface, afaik.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Dec 9 '05 #7
Matt Kruse wrote:
[...]
ASP is not a "CGI application platform" because it does not use the
Common Gateway Interface, afaik.


From the Implementation Questions section of
<URL:http://msdn.microsoft. com/library/en-us/dnasp/html/msdn_aspfaq.asp >
it appears that you are correct.

I will try to call ASP "the server-side execution environment
in Microsoft Internet Information Server", as the vendor calls
it, in the future. Thanks for clarification.
PointedEars
Dec 9 '05 #8

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

Similar topics

3
1989
by: kajol | last post by:
Hi everyone I am trying to get the content of any webpage (URL) using XMLHTTP, and it is working fine for me, but suddenly I have got a URL "http://www.bizrate.com/" which is causing a system error and the error is System.Runtime.InteropServices.COMException(0xC00CE56E): System error:- 1072896658
5
11013
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);
9
5578
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, using the same HTML/JS it always returns no data (xmlhttp.responseText is null). When I try to get headers using Mozilla or display the http status code I get some obscure exception in the javascript console that I've given up on searching for an...
12
13796
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 to the web server of our company which is redhat 9 i still have no problem with mozilla but the ie gives an error like this, System error: -1072896658
6
10451
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 anything. I have searched through the Internet and seems like the reason it hangs the browser it's because XMLHTTP limits you to two concurrent HTTP connections to each remote host; so if more than 2 concurrent connections strike the script...
1
1330
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 something different?
0
2750
by: SushiSean | last post by:
When executing the xmlhttp.send function to request shipper for available shipments (I send xml as string and receive result xml): XMLHTTP xmlhttp = new XMLHTTP(); xmlhttp.open("POST", "https://gateway.fedex.com:443/GatewayDC", false, "", ""); xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xmlhttp.send(strXML);
13
25293
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 the version of Microsoft's XML parser and that Microsoft.XMLHTTP refers to the latest installed version. This makes me wonder why sites like <http://developer.apple.com/internet/webcontent/xmlhttpreq.htmlopt to use Msxml2.XMLHTTP, first, and...
14
14177
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all. I am using server side ASP, and some said to use Microsoft.ServerXMLHTTP instead. However I have tried that as well and it still freezes up the whole thing (i.e. the site just keeps loading forever). I tried to do a "on error resume next" clause to catch the error but still...
2
19234
by: Dave | last post by:
I am running the following code and I get an error: Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.3.0") xmlHttp.Open "Get", URLToRSS, false xmlHttp.Send RSSXML = xmlHttp.ResponseText The error is: msxml3.dll error '800c0005'
0
8852
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
8736
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,...
1
9145
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
9081
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
8020
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
6676
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
5992
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();...
0
4761
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3206
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 we have to send another system

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.