Connecting Tech Pros Worldwide Help | Site Map

problem with nsIXMLHttpRequest.send

harishdixit1@gmail.com
Guest
 
Posts: n/a
#1: Nov 17 '06
Hello friends i m calling a javascript function from toolbar on the web
page .

but on statement xmlHTTPReq.send( data );

exception occurs. execption is

"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"

i don't know why it is coming.
While same statement is executing fine from page....

if someone has knowledge about it then plz reply..

Thanks in advancde...

%Harish%

Martin Honnen
Guest
 
Posts: n/a
#2: Nov 17 '06

re: problem with nsIXMLHttpRequest.send


harishdixit1@gmail.com wrote:
Quote:
Hello friends i m calling a javascript function from toolbar on the web
page .
>
but on statement xmlHTTPReq.send( data );
>
exception occurs. execption is
>
"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"
>
i don't know why it is coming.
Have you called the open method before that call to the send method?


--

Martin Honnen
http://JavaScript.FAQTs.com/
rptodd@mindspring.com
Guest
 
Posts: n/a
#3: Dec 1 '06

re: problem with nsIXMLHttpRequest.send


I'm receiving the same error message and I am definitely opening the
request first.

request.open("POST",url,true);

Anyone have any ideas?

On Nov 17, 8:19 am, Martin Honnen <mahotr...@yahoo.dewrote:
Quote:
harishdix...@gmail.com wrote:
Quote:
Hello friends i m calling a javascript function from toolbar on the web
page .
>
Quote:
but on statement xmlHTTPReq.send( data );
>
Quote:
exception occurs. execption is
>
Quote:
"Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)
[nsIXMLHttpRequest.send]" nsresult: "0xc1f30001
(NS_ERROR_NOT_INITIALIZED)"
>
Quote:
i don't know why it is coming.Have you called the open method before that call to the send method?
>
--
>
Martin Honnen
http://JavaScript.FAQTs.com/
VK
Guest
 
Posts: n/a
#4: Dec 1 '06

re: problem with nsIXMLHttpRequest.send



rptodd@mindspring.com wrote:
Quote:
I'm receiving the same error message and I am definitely opening the
request first.
>
request.open("POST",url,true);
>
Anyone have any ideas?
You are not using abort() on previous request by any chance?

<http://www.quirksmode.org/blog/archives/2005/09/xmlhttp_notes_a_1.html>

Closed Thread