Daniel Berger
2008-Jul-22 13:46 UTC
Bizarre IE 7 error - res://ieframe.dll/dnserrordiagoff.htm
Hi all, Ruby 1.8.6-p111 Rails 1.2.6 Windows XP Pro IE 7 Posting this for posterity''s sake, and to see if anyone else hit this issue. I sporadically hit a strange error in IE7 when I hit a submit button on a form within a Rails app. res://ieframe.dll/dnserrordiagoff.htm Further investigation revealed that, when I hit this error, it was never reaching the controller, which I thought was odd. Also, I did NOT see the same behavior in Firefox 2.x (it worked fine). The results I found on Google for that error didn''t make much sense in the context of a Rails app. As best as I can figure it was the result of trying to pass too much data over an http request (I tried both POST and GET). I noticed that when I tried to pass smaller result sets via the form to a controller it worked fine, but when the result set was very large it would choke with this error (or redirect, or whatever you want to call it). The solution, in my case, was to just pass the minimal information necessary and do a second lookup in the controller. I hope this helps some future googlers. If anyone else any insights on this issue they''d like to share, please do. Regards, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Daniel Berger
2008-Jul-22 17:44 UTC
Re: Bizarre IE 7 error - res://ieframe.dll/dnserrordiagoff.htm
On Jul 22, 7:46 am, Daniel Berger <djber...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > Ruby 1.8.6-p111 > Rails 1.2.6 > Windows XP Pro > IE 7 > > Posting this for posterity''s sake, and to see if anyone else hit this > issue. > > I sporadically hit a strange error in IE7 when I hit a submit button > on a form within a Rails app. > > res://ieframe.dll/dnserrordiagoff.htm > > Further investigation revealed that, when I hit this error, it was > never reaching the controller, which I thought was odd. Also, I did > NOT see the same behavior in Firefox 2.x (it worked fine). The results > I found on Google for that error didn''t make much sense in the context > of a Rails app. > > As best as I can figure it was the result of trying to pass too much > data over an http request (I tried both POST and GET). I noticed that > when I tried to pass smaller result sets via the form to a controller > it worked fine, but when the result set was very large it would choke > with this error (or redirect, or whatever you want to call it). The > solution, in my case, was to just pass the minimal information > necessary and do a second lookup in the controller. > > I hope this helps some future googlers. If anyone else any insights on > this issue they''d like to share, please do.A colleague of mine pointed me to this article: http://support.microsoft.com/kb/208427 In short, 2k limit for GET requests. I''m still not sure why it''s failing for a POST, though. Regards, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---