How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error

This error shows up when the page loads (or tries to load). There are many scenarios that can cause this error which occurs in IE. Microsoft has even issued a patch for solving it.

This error is being caused by calling a piece of Javascript within a page (after the tag). Adding the defer=”defer” tag to the script quickly resolves the issue.

Hope this helps someone! 🙂

91 thoughts on “How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error”

  1. Wow! Thanks for this. Solved my problem instantly! Incidentally, it was an issue with calling a custom messaging plugin I wrote for jQuery, which uses the append method to attach a message container to the document.

    1. Steven, You might wanna try modifying all setting for IE to default or even better yet, do yourself a favor and switch to a better browser like Firefox or Chrome 🙂

  2. Sorry, I really have no idea what to do. I don’t even understand what “adding defer=”defer” to your script tags” even really mean.

    Do I copy and paste “defer=”defer”” into the HTML, is that it?

    Sorry, as you can see I’m not good in any of this!

    Thanks!

  3. I think I also have this problem, but I really don’t understand anything of scripts and… stuff..

    🙁

    Hey Calvin, All you need to do is add

    defer=”defer”

    to all of your Javascript declarations:

    Where should I write this? Where are those Javascript declarations 🙁

    Sorry for being so incompetent and thanks!

  4. It’s not working. I know this usually does the trick, but what you do when you try to embed a flash file into a web page?

    You see, I have this problem, when I embed a flash file into an article (in Joomla!) – suddenly the page doesn’t load in IE 7. In IE 6 things aren’t working great, but still working. So… I tried most of the solutions google offered from your posts, and still didn’t solve my problem.

    And I know it’s that flash file problem, because when I unpublish that article – things work smoothly.

    Help, please!

    1. Richard – So i’m getting this pop up every time I watch a youtube video. I have NO clue what defer=defer means or what a java is? I can barely turn the computer on. Can you guide me on how I might get rid of this damn pop up speaking to someone that has no clue about codes and programming? Simple way?

      Thanks!

      🙂

  5. Hi, please help! I’ve added deter to all the script tags in my code, and now the page just goes blank. What should I do? This is in IE of course.

  6. Hi,

    Great article, saved me a few hours work around! Without IE bashing too much, it just goes to show that as a web designer, it’s these niggly and inexplicable things that really eat in to our time!

    I also found this microsoft page/confession(!) with regard to the same problem…

    http://support.microsoft.com/kb/927917

    This might help some of the people that the defer=”defer” does not immediately work for.

    Interestingly, my script was also placed outside of any elements and was within just the tag as they seem to think solves the problem.

    Maybe try both in unison.

  7. Found the fix it appears most people are looking for. It’s caused by a conflict with IE7 and the flash embed code used by YouTube and other video sites. Obviously, this fix will only work if you are the site developer.

    Here is an example of the classic video embed code:

    Simply remove the Object code so the result is:

    This all you need to do.

    If you want to test this solution, simply go to my website http://www.timeline2012.net/ which has 5 embeds on the home page.

  8. Found the fix it appears most people are looking for. It’s caused by a conflict with IE7 and the flash embed code used by YouTube and other video sites. Obviously, this fix will only work if you are the site developer.

    Here is an example of the classic video embed code:

    …..object width=”445″ height=”364″………………>…../embed>

    Simply remove the Object code so the result is:

    …..embed src=”http://………..&hl=en&fs=1&border=1″ type=”application/x-shockwave-flash” wmode=”transparent” allowscriptaccess=”always” allowfullscreen=”true” width=”445″ height=”364″>

    This all you need to do.

    If you want to test this solution, simply go to my website http://www.timeline2012.net/ which has 5 embeds on the home page.

  9. Internet Explorer 7, HTTP, HTTPS, port 80 … I have three profiles running on windows XP (one computer), one of the users Explorer can not connect to the internet, so it must be that users profile,, I have reset Explorer taken off all firewalls and it still will not connect,, outlook is working and I can check mail. Do you know what setting could be making the problem? Also if I use Netscape I can get to the internet.

  10. okay i finally figured out where to put it, the code, but it wont stay on there. it of course is not my own web site, another web site. its making me mad because it happens everyday, every time i try to get on there and has been for the last two weeks. i unfortunately have let someone else use my computer and it didn’t happen until they got on here and were going to chat sites and everything else and have no clue if they do anything or not (they say no but anyone can say no). as of now no one but me is on my computer. need help. tried everything i can think of and have run out of options. so if you could help id appreciate it very much. oh and it only happens on the one web site and no others.

  11. What caused the error for me was a Google adsense script placed before a script that appended the adsense to another div. Putting the adsense code in a new div and closing it before the append code did the trick. Didn’t try the “defer” solution-it might be a violation of adsense tos-not sure.

  12. I fixed this problem simply by disable one IE Add-on, by:

    IE->Tools->Manage Add-on->Publisher is ShenZhen QVOD Technology Co.,Ltd

    Name {53AC8551-0DE0-4606-8A1E-A51AF20ADD60}

    Publisher (Not verified) Shenzhen QVOD Technology Co.,Ltd

    Status Disabled

    File date Monday, March 01, 2010, 4:57 PM

    Version 3.0.0.0

    Load time (0.00 s)

  13. Using S.Z.’s recommendation, I disabled the “Shockwave Flash Object” and that seemed to at least stop the popup error from happening. But, now each website that utilized this add-on has a new popup at the bottom declaring that “this webpage is asking for that disabled add-on”.

    So, I left that add-on disabled, redownloaded the Flash Player 10 and then enabled that “Shockwave Flash Object” and now it works. I think the updates caused the problem, but reinstalling the “Shockwave Flash Object” again overwrote those specific changes made by the Windows update.

    Hope that helps :0)

  14. Dear Richard,

    Could you please advise step by step how/which script can i put defer=”defer” into. I mean as soon as i see this error dialog, and i press OK and web page is gone, so now what step i need to proceed for.

    Thanks

  15. I’m using IE7 and get this error, but i don’t know where to put this defer=”defer” to fix it. In what script i need to copy defer=”defer”?

    Can you help me pls? Can you make a video tutorial of this fix and put it on youtube?

    thx.

  16. Surly the correct way to solve this would be to use the jQuery $(document).ready function to defer the script execution until after DOM has loaded.

    i.e.

    {syntaxhighlighter brush: javascript}

    $(document).ready(function(){

    //Do some stuff

    });

    {/syntaxhighlighter}

  17. Hi Richard glad to see you in this blog, me facing the same problem regarding

    in IE6 WEB site is not opened showing this error message….(Operation aborted)

    please help me with your valuable suggestions.

    And to fix the above code in JS file….gimme reply

    Regards

    pvn

  18. Wow – I’m just a novice by the above bods’ level.

    And I bet there’d be plenty of ‘lesser bods’ who get just as irate as the others at this THING!! happening!

    Would some xtra kind person pls put the fix out in steps for we juniors?

    ..telling to put ‘defer’ in jScript – without explanation and positioning, I wouldn’t have a clue what this meant..

    Any assist would be v. much appreciated!

    crwn

  19. Can someone tell me what is the cause of this error in IE7? Loading simple ASP page with some Javascript. Tried all the stuff on this page. Cant search google with this line .. 🙁

    ***** ERROR ***** FILE ABORTED ***** ERROR *****

    Unacceptable content.

  20. I have used internet explorer 6 and I really do not want to change it since I am used to it. What annoys me is that since the last time they installed it, I cannot open some web pages since the “internet explorer cannot open the site” message occurs. I have installed the debugger you mention in your site for solving this problem, and IO want to know if I have to enter the defer=defer fix for every single page that I want to open and presents this problem.

    This solution was presented in 2009. Has anything more effective and easier to put into effect been developped since? Can one download the microsoft patch you mention to solve the problem for all pages and forever?

    Thanks,

    Gus

Leave a Reply

Your email address will not be published. Required fields are marked *