469,352 Members | 1,694 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

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 2775
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by kajol | last post: by
12 posts views Thread by Botan Guner | last post: by
6 posts views Thread by Vanessa | last post: by
1 post views Thread by Dave H | last post: by
13 posts views Thread by yawnmoth | last post: by
14 posts views Thread by =?Utf-8?B?VmFuZXNzYQ==?= | last post: by
2 posts views Thread by Dave | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.