Michael Schwarz wrote: > Hi, > > which version of FireFox are you using? > > Regards, > Michael > > > > On 5/4/06, guscubed <[EMAIL PROTECTED]> wrote: > > > > > > q_machine wrote: > > > thanks micheal, > > > the above code working fine, but this problem occurs just only on > > > firefox, ie and opera working correctly as expected, i tried your > > > solution too, but no way. upgrading to a new version has no effect > > > > I too have experienced FireFox only errors, even when running the > > latest builds of the AjaxPro.dll. This error was raised when accessing > > a very simple test method, returning the sum of two integers to the > > client. > > > > Error: [Exception... "Component returned failure code: 0x80040111 > > (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getResponseHeader]" > > nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > > http://localhost:1660/WebSite1/ajaxpro/core.ashx :: anonymous :: line > > 306" data: no] > > Source File: http://localhost:1660/WebSite1/ajaxpro/core.ashx > > Line: 306 > > ..... > > createResponse: function(noContent) { > > var r = new Object(); > > r.error = null; > > r.value = null; > > r.request = {method:this.method,args:this.args}; > > r.context = this.context; > > > > if(MS.Debug.enabled == true) > > MS.Debug.trace("... " + this.method + " finished."); > > > > if(!noContent) { > > var responseText = new > > String(this.xmlHttp.responseText); > > > > if(AjaxPro.cryptProvider != null && typeof > > AjaxPro.cryptProvider == > > "function") > > responseText = > > AjaxPro.cryptProvider.decrypt(responseText); > > > > if(this.xmlHttp.getResponseHeader("Content-Type") == > > "text/xml") > > r.value = this.xmlHttp.responseXML; > > else > > if(responseText != null && > > responseText.trim().length > 0) > > eval("r.value = " + responseText + > > ";"); > > > > responseText = null; > > } > > > > ---> if(this.xmlHttp.getResponseHeader(AjaxPro.ID + "-Cache") == > > "server") { > > r.isCached = true; > > } > > > > return r; > > }, > > ..... > > > > the line marked --> seems to be causing the error in FireFox, but not > > in IE > > > > > > > > > > > > -- > Best regards | Schöne Grüße > Michael > > Microsoft MVP - Most Valuable Professional > Microsoft MCAD - Certified Application Developer > > http://weblogs.asp.net/mschwarz/ > http://www.schwarz-interactive.de/ > mailto:[EMAIL PROTECTED]
Hi Michael, Thanks for replying so quickly, I know it must take a lot of your time to deal with all these questions and I would like you to know that I, and no doubt everyone else in this newsgroup, really appreciate the effort you put in to supporting your library. Yep, you were right - I was running Firefox 1.0.7 (windows XP)- it works fine in 1.5. Do you think that the ajaxPro2.dll will ever support older versions of FireFox? I Thanks, James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
