473,396 Members | 2,052 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,396 software developers and data experts.

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 2841
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*********@web.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.uiuc.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/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Dec 9 '05 #5
Lasse Reichstein Nielsen wrote:
Thomas 'PointedEars' Lahn <Po*********@web.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.uiuc.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
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...
5
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...
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,...
12
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
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...
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...
0
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",...
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...
14
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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,...
0
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...

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.