Could Not Complete The Operation Due To Error C00c023f
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up IE 9 Javascript error c00c023f up vote 11 down vote favorite 2 I came across this error only on IE9: SCRIPT575: Could not complete the operation due to error c00c023f. The error happened on this line: if ((a.responseXML) && (a.readyState==4)) { I cant figure it out why this happened, and it seems to work very well in other browsers. and this is my javascript code: var a = new XMLHttpRequest(); a.open("GET",'/cust/ajax/getresult.php?qk=nnf87&arg1='+pzid,true); a.onreadystatechange = function () { if ((a.responseXML) && (a.readyState==4)) { var N = a.responseXML.getElementsByTagName('result') sequence = N[0].firstChild.data; var SEQ = sequence.split(","); var num = SEQ.length; var sum = 0; for(var n=0;n Studio 2015 products Visual Studio Team Services Visual Studio Code Visual Studio Dev Essentials Office Office Word/Excel/PowerPoint Microsoft Graph Outlook OneDrive/Sharepoint Skype Services Store Cortana Bing Application Insights Languages & platforms Xamarin ASP.NET C++ TypeScript .NET - VB, C#, F# Server Windows Server SQL Server BizTalk Server SharePoint Dynamics Programs & communities Students Startups Forums MSDN Subscriber downloads Sign in Search Microsoft Search Windows Dev Center Windows Dev Center Explore What’s new for Windows 10 Intro to Universal Windows Platform Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started http://stackoverflow.com/questions/7287706/ie-9-javascript-error-c00c023f UI design Develop Publish Desktop Get started Design Develop API reference Test and deploy Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Explore What’s new for Windows 10 Intro to Universal Windows Platform Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started UI design Develop Publish Desktop https://social.msdn.microsoft.com/Forums/ie/en-US/9df917e6-4803-4a61-9252-53ddcad12fb8/ie-9-development-could-not-complete-the-operation-due-to-error-c00c023f?forum=iewebdevelopment Get started Design Develop API reference Test and deploy Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: IE 9 Development : Could not complete the operation due to error c00c023f. Internet Explorer Development > Internet Explorer Web Development Question 0 Sign in to vote Hi, In my javascript, I do a GET operation similar to : var httpRequest = new XMLHttpRequest(); httpRequest.open( "GET", "/Service/GetData", true); httpRequest.onreadystatechange = function() { var results = eval(httpRequest.responseText) .//More code here . } httpRequest.send(); Unfortunately, I get a 'Could not complete the operation due to error c00c023f.' when I try to access httpRequest.responseText. This seems to be working perfectly on other browsers. I did lookup and it seems several people are facing the same issue but there hasn't been any solution suggested yet? Any idea as to why this could be happening? Thanks! Saturday, October 01, 2011 5:35 AM Reply | Quote Answers 0 Sign in to vote You should check httpRequest.readyState === 4 in your code before trying to access responseText. Of course httpRequest.status should also be checked to ensure the request you sent was successful.MVP Data Platform Developm Support Search GitHub This repository Watch 3 Star 40 Fork 4 toolness/postmessage-proxied-xhr Code Issues 4 Pull requests 0 Projects 0 Pulse Graphs New issue SCRIPT575: Could not complete the operation due to error c00c023f. #3 Open szimek opened this Issue https://github.com/toolness/postmessage-proxied-xhr/issues/3 Mar 30, 2012 · 10 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 5 participants szimek commented Mar 30, 2012 Hi, I'm getting this error in ppx.js#214 when trying to make a request. Despite this error it actually works ok, but it opens up a dialog box with a question if I want to debug the website, which is rather annoying. Any idea what can be wrong? BTW. Is it somehow could not possible to make a request with "application/json" Content-Type header? Right now I'm getting a warning invalid content type for a simple request: application/json when trying to do so. I'm trying to send stringified JSON and when this Content-Type header is present, it's automatically parsed correctly by the server... juggy commented Oct 16, 2012 Got the same thing here. Any idea why? kkopachev commented Feb 12, 2013 You need to send back correct Access-Control-Allow-Origin header. steel commented Mar 7, could not complete 2013 I ran into this in IE...I assume that's the browser you're using. In IE you can only access the request properties when the readystate is 4. Channel.send is trying to access the request properties on every request state change. kkopachev commented Mar 7, 2013 According to MSDN we can get request headers from state=2, but it does not work for IE8 for some reason. steel commented Mar 7, 2013 It's IE8 specific. IE9+ works fine. tateman66 commented Mar 8, 2013 Anyone know how to get around this? IE9 doesn't work for me at all unless I put a try/catch around the channel send and then for some reason the ready state changes don't fire and my success handler never fires. kkopachev commented Mar 8, 2013 try exit function if readystate = 1. This will fix the issue for IE9. But IE8 will report some warnings, but will be able to work. steel commented Mar 8, 2013 steel@bba7dd9#L0L220 tateman66 commented Mar 8, 2013 Nope. And by exit function I assume you mean just return out of the handler: if (req.readyState === 1) return; channel.send({ cmd: "readystatechange", readyState: req.readyState, ..... As I said, I see the response coming back fine in Fiddler, just never fires the done method off of my promise. kkopachev commented Mar 8, 2013 @tateman66 Wrong place. See @steel 's comment above. Did you set correct headers in the r