Connecting Tech Pros Worldwide Help | Site Map

problem with nsIXMLHttpRequest.send

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 17th, 2006, 11:15 AM
harishdixit1@gmail.com
Guest
 
Posts: n/a
Default problem with nsIXMLHttpRequest.send

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, 11:55 AM
Martin Honnen
Guest
 
Posts: n/a
Default 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, 07:55 PM
rptodd@mindspring.com
Guest
 
Posts: n/a
Default 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, 09:05 PM
VK
Guest
 
Posts: n/a
Default 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>

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.