Internet Explorer Ajax Error 12031
Contents |
Navigation ← Previous TicketNext Ticket → Opened 6 years ago Closed 6 years ago Last modified 5 years ago #6922 closed bug http error code 12031 (invalid) Ajax Issue in IE7/8 - Error 12031 Reported by: http error 12031 sead.kolic Owned by: Priority: Milestone: 1.4.2 Component: ajax Version: 1.4.2 Keywords: ajax, ie, 12031 Cc: error 12031 the connection with the server was reset sead.kolic@… Blocked by: Blocking: Description Hi, I have an issue with my script in IE8 when calling async ajax to my server side code. The
Wininet Error 12031
server side code works fine and the script is fully working in Chrome and Firefox. The issue only occurs in Internet Explorer. This only happens sometimes, maybe each second/third time I call my function. The error code I get is 12031: Internet Client Error: Connection Reset. What I understood from other a connection to the server has failed. (status=12031) sites, the ajax result returns, but the script throws an exception before completing the success handler. Even if I set: dataType: 'json' and contentType: 'applications/json' the same error occurs. Is is possible to provide a fix or a workaround for this issue? Thanks in advance. Regards, Sead The calling script: var message = ''; ExecuteAction('myurl.php', 'fillgebruikersgroepen', message, function(data, textStatus, XMLHttpRequest) { $(container).html(data); }, function(xhr, ajaxOptions, thrownError) { alert(thrownError); } ); The method: ExecuteAction: function(url, action, message, success, error) { jQuery.ajax({ type: "POST", cache: false, async: true, url: url + "?action=" + action, dataType: "html", data: message, success: success, error: error }); } Oldest first Newest first Threaded Comments only Change History (1) comment:1 Changed 6 years ago by dmethvin Resolution set to invalid Status changed from new to closed This isn't a bug report yet, so I would advise that you ask for help on a forum and provide a comp
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/ASP.NET AJAX + Ajax Control Toolkit/The status code returned from the server was: 12031 The status code returned from the server was: 12031 [Answered]RSS 5 replies Last post Sep 12031: error_internet_connection_reset 08, 2010 06:48 AM by Sumen404040 ‹ Previous Thread|Next Thread › Print Share Twitter
Java Update Http Status Code 12031
Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links GuidanceVideos Reply DeskingFan Member 4 Points
Server Responded With Error 12031
47 Posts The status code returned from the server was: 12031 Nov 30, 2007 12:46 PM|DeskingFan|LINK Hello, I have an AJAX enabled web site and have a client that has mutiple pc's and only 1 of https://bugs.jquery.com/ticket/6922 the pc's receives the following error: "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.The status code returned from the server was: 12031". The problem occurs when the user changes a value in a dropdown list that is withing an UpdatePanel. I'm not sure how to even attack this problem, google results were not very helpful. Is there some setting in IE that could be causing this or https://forums.asp.net/t/1188605.aspx?The+status+code+returned+from+the+server+was+12031 something else that I can try? Thanks in advance. Reply DisturbedBud... Star 7775 Points 1910 Posts Re: The status code returned from the server was: 12031 Nov 30, 2007 01:25 PM|DisturbedBuddha|LINK It is a WinInet API error. http://support.microsoft.com/kb/193625 When you ask a question, remember to click "mark as answered" when you get a reply which answers your question. My latest ASP.NET AJAX blog entries. Reply symplicity None 0 Points 1 Post Re: The status code returned from the server was: 12031 Dec 03, 2007 10:59 PM|symplicity|LINK This error may be due to the HTTP Runtime limitation of the maxRequestLength. The default value is 4096. Try adding (or editing) the following entry in your Web.Config: "
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a https://www.experts-exchange.com/questions/23421667/Getting-rid-of-Ajax-error-number-12030-in-IE.html Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Getting rid of Ajax error number 12030 in IE Want to Advertise Here? Solved Getting rid of Ajax error number 12030 in IE Posted error 12031 on 2008-05-21 JavaScript 1 Verified Solution 12 Comments 7,018 Views Last Modified: 2012-05-05 Hi, As you know there is a bug in IE which send request number 12030 when do ajax request, somebody suggest to get rid from this problem as this one: http://community.xajaxproject.org/viewtopic.php?id=972 (look at the last posting) is to recall the request as follow: switch(xmlHttp.status){ internet explorer ajax case 12029: case 12030: case 12031: case 12152: case 12159: //repeat call here } Now the following is my code, my question is where should I place this Switch block in it and how can I repeat the call: help please var http_request = false; function makePOSTRequest(url, parameters) { http_request = false; if (window.XMLHttpRequest) { // Mozilla, Safari,... http_request = new XMLHttpRequest(); if (http_request.overrideMimeType) { // set type accordingly to anticipated content type //http_request.overrideMimeType('text/xml'); http_request.overrideMimeType('text/html'); } } else if (window.ActiveXObject) { // IE try { http_request = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { http_request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {} } } if (!http_request) { alert('Cannot create XMLHTTP instance'); return false; } http_request.onreadystatechange = alertContents;