Exception:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: prototype.js :: anonymous :: line 920" data: no] Hi, i read about this problem and i know, that calling nsIXMLHttpRequest.status causes it. prototype has a try-catch-block around this. But whats about the reasons? Do anybody know how i can eliminate the reason. LG Eule --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey, Eule a écrit :> Exception:[Exception... "Component returned failure code: 0x80040111 > (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: > "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > prototype.js :: anonymous :: line 920" data: no] > > Hi, > i read about this problem and i know, that calling > nsIXMLHttpRequest.status causes it. > prototype has a try-catch-block around this. > But whats about the reasons? Do anybody know how i can eliminate the > reason.Either you''re trying to access a location outside the S.O.P. (other port, other subdomain/domain), or you''re trying to access a non-existing URI and get a 404 response back. Check your target URI with great care. -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I get that one all the time when developing in ASP.Net...when recompiling, or if the built in server dies, that''s the error that gets thrown. Make sure the server exists, is valid, and isn''t getting blocked. And like Chris said, be sure it''s in the SOP -Jerod On 5/15/07, Christophe Porteneuve <tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org> wrote:> > > Hey, > > Eule a écrit : > > Exception:[Exception... "Component returned failure code: 0x80040111 > > (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: > > "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > > prototype.js :: anonymous :: line 920" data: no] > > > > Hi, > > i read about this problem and i know, that calling > > nsIXMLHttpRequest.status causes it. > > prototype has a try-catch-block around this. > > But whats about the reasons? Do anybody know how i can eliminate the > > reason. > > Either you''re trying to access a location outside the S.O.P. (other > port, other subdomain/domain), or you''re trying to access a non-existing > URI and get a 404 response back. Check your target URI with great care. > > -- > Christophe Porteneuve aka TDD > tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Jerod Venema a écrit :> I get that one all the time when developing in ASP.Net...when > recompiling, or if the built in server dies, that''s the error that gets > thrown. Make sure the server exists, is valid, and isn''t getting > blocked. And like Chris said, be sure it''s in the SOPFWIW, it also happens when attempting to read the status property of the XHR object before its readyState is 4 (before onSuccess/Failure/Complete, that is). -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
> FWIW, it also happens when attempting to read the status property of the > XHR object before its readyState is 4 (before > onSuccess/Failure/Complete, that is).That is rather strange because for my code: if(req.readyState == 4){ if(req.status == 200){ I got the error message for the first of this two lines. I''m wired. The file I''m trying to access is from the same domain but I''m locating it using relative path. I don''t think it can be the matter. The other strange fact is that on localhost everything works fine. On the remote server it fails. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://weblog.richardadamdean.com/?p=8 -- here is interested article. This guy said that this error happens when HTTPRequest called while submitting form. What do you think? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://weblog.richardadamdean.com/?p=8 -- here is interested article. This guy said that this error happens when HTTPRequest called while submitting form. What do you think? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://weblog.richardadamdean.com/?p=8 -- here is interested article. This guy said that this error happens when HTTPRequest called while submitting form. What do you think? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://weblog.richardadamdean.com/?p=8 -- here is interested article. This guy said that this error happens when HTTPRequest called while submitting form. What do you think? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Tim, thanks for your help. Tim wrote:> http://weblog.richardadamdean.com/?p=8 -- here is interested article. > This guy said that this error happens when HTTPRequest called while > submitting form. What do you think?1. (http://weblog.richardadamdean.com/?p=8) Yes, i can confirm that it happens only in FireFox(Version 1 or 2 it soesn''t matter) 1.1. but it(2.) affects not only submitting forms, updating with Ajax.Updater causes the same error 1.2 i have already a line with return false in my onClick-Routine 2. It''s definitivly not a false URI. I''m requesting only relative paths 3. the linenumber in the errormessage is 920 or 931 Exception:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: prototype.js :: anonymous :: line [920 | 931]" data: no] 4. I''m collecting only the errormessages and i can''t reproduce it. LG Eule --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---