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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
