Connecting Tech Pros Worldwide Help | Site Map

problem with nsIXMLHttpRequest.send

  #1  
Old November 17th, 2006, 12:15 PM
harishdixit1@gmail.com
Guest
 
Posts: n/a
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%

  #2  
Old November 17th, 2006, 12:55 PM
Martin Honnen
Guest
 
Posts: n/a

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/
  #3  
Old December 1st, 2006, 08:55 PM
rptodd@mindspring.com
Guest
 
Posts: n/a

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/
  #4  
Old December 1st, 2006, 10:05 PM
VK
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with XmlHttpRequest (0x80040111 / nsIXMLHttpRequest.status) on several configurations Greg answers 42 May 5th, 2006 12:45 PM
xmlhttp problem using Mozilla ... responseText is always null fochie answers 9 July 23rd, 2005 09:16 PM
XMLHttpRequest and garbage collection Henri Sivonen answers 1 July 23rd, 2005 07:12 PM