Richard Castera

Application Developer/Designer
  • Home
  • About
  • Projects

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.

<script defer="defer" type="text/javascript" src="src goes here">/*code goes here*/</script>

Hope this helps someone! :)

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Don't forget to Subscribe and Follow!

Be sure to subscribe to the feed and follow me on Twitter for more insights and resources!

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

  1. Comment #1 - Permalink
    Nichol
    05/22/2009

    I’m seeing this fix everywhere. Where do I add this to? This error is frustrating me!

  2. Comment #2 - Permalink
    Richard
    05/24/2009

    Hello Nichol,

    You can easily resolve this issue by adding defer=”defer” to your script tags.

  3. Comment #3 - Permalink
    Eric
    05/29/2009

    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.

  4. Comment #4 - Permalink
    Calvin
    06/03/2009

    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!

  5. Comment #5 - Permalink
    Richard
    06/08/2009

    Hey Clavin, All you need to do is add

    defer="defer"
    

    to all of your Javascript declarations like this:

    <script defer="defer" type="text/javascript" src="jquery.js"></script>
    
  6. Comment #6 - Permalink
    ZeeBigTourist
    06/14/2009

    I’ve had this error message (and went nuts), but I cracked (not my head) the code, just in time.

    This is what I did –> http://zeebigtourist.blogspot.com/2009/06/internet-explorer-cannot-open-internet.html

    Thanks for all the helpful info.

    ZeeBigTourist

  7. Comment #7 - Permalink
    simon
    06/15/2009

    this is a great fix. i banged my head on this problem for a day before finding it. THANK YOU!

  8. Comment #8 - Permalink
    Pro-Vamsi
    07/16/2009

    This one did not work for me. I don’t have any reasons why this did not work only for me.

  9. Comment #9 - Permalink
    ali
    07/23/2009

    Hey this piece of code did save me…I was banging my head for this frompast 2 hours and i didnt get a proper and easy solution…

  10. Comment #10 - Permalink
    Charlie
    08/19/2009

    How about when you’re looking at someone elses webpage and you get that error?

  11. Comment #11 - Permalink
    Richard
    08/29/2009

    @Charlie, I guess it would be nice if you mentioned this post to them :)

  12. Comment #12 - Permalink
    maria
    09/05/2009

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

    “Hey Clavin, All you need to do is add

    defer=”defer”
    

    to all of your Javascript declarations like this:

    
    

    ”

    Wherre should I write this? Where are those Javascript declarations :(

    Sorry for being so incompetent and thanks!

  13. Comment #13 - Permalink
    Music
    09/23/2009

    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!

  14. Comment #14 - Permalink
    Raul
    10/06/2009

    Greaters solution ever thankz Bro…

  15. Comment #15 - Permalink
    Richard
    10/06/2009

    @Raul, no problem!

  16. Comment #16 - Permalink
    Richard
    10/06/2009

    @Maria, you add defer=”defer” to the script tag.

  17. Comment #17 - Permalink
    Richard
    10/06/2009

    @Music, are you sure that you’ve added it to all of the Javascript declarations?

  18. Comment #18 - Permalink
    Stephanie
    10/08/2009

    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.

  19. Comment #19 - Permalink
    Stephanie
    10/08/2009

    I mean defer!

  20. Comment #20 - Permalink
    Richard
    10/14/2009

    @Stephanie, Then you may have a bug in your Javascript code. Try downloading the Microsoft Javascript Debugger (http://www.microsoft.com/downloads/details.aspx?familyid=2F465BE0-94FD-4569-B3C4-DFFDF19CCD99&displaylang=en). This can help you in debugging javascript in Internet Explorer. To enable debugging, follow this tutorial, (http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html)

  21. Comment #21 - Permalink
    Phil
    10/29/2009

    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.

  22. Comment #22 - Permalink
    Richard
    11/01/2009

    @Phil, Thanks for tip Phil!

  23. Comment #23 - Permalink
    Canvas Prints
    11/10/2009

    Yeh this seems to have worked Cheers !

  24. Comment #24 - Permalink
    Ivan
    11/13/2009

    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.

  25. Comment #25 - Permalink
    Ivan
    11/13/2009

    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.

  26. Comment #26 - Permalink
    Richard
    12/06/2009

    @canvasprintsonline.com, :)

  27. Comment #27 - Permalink
    Richard
    12/06/2009

    @Ivan Thanks!

  28. Comment #28 - Permalink
    Steven Leslie
    12/31/2009

    Internew 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.

  29. Comment #29 - Permalink
    Sachin Kalra
    01/04/2010

    Thanks, really helpful

  30. Comment #30 - Permalink
    Shorty
    01/11/2010

    okay i fianlly 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, everytime i try to get on there and has been for the last two weeks. i unfortunalty have let someone else use my computer and it didnt happen until they got on here and were going to chat sites and everthing else and have no clue if they dl 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.

  31. Comment #31 - Permalink
    vidhya
    01/21/2010

    thanks a lot i was breaking my mind for more than 4 hours for this bug,thank u.

  32. Comment #32 - Permalink
    V Solomon
    02/01/2010

    Simply download Mozilla’s Firefox and use that for your Web Browser.

  33. Comment #33 - Permalink
    V Solomon
    02/01/2010

    Simply download Mozilla’s Firefox and use that as your web browser.

  34. Comment #34 - Permalink
    Saurabh Shrivastava
    02/03/2010

    This really works and very good solution. Thanks dude!!!!!

  35. Comment #35 - Permalink
    avd
    02/14/2010

    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.

  36. Comment #36 - Permalink
    Richard
    02/16/2010

    @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 :)

  37. Comment #37 - Permalink
    Richard
    02/16/2010

    @Sachin, Thanks!

  38. Comment #38 - Permalink
    Richard
    02/16/2010

    @Vidhya, No worries :) Thanks for reading!

  39. Comment #39 - Permalink
    Richard
    02/16/2010

    @Saurabh, Awesome! Your welcome!

  40. Comment #40 - Permalink
    Richard
    02/16/2010

    @V, lol I agree with you! But as developers, we still need to debug websites for the curse of the web (IE).

  41. Comment #41 - Permalink
    Richard
    02/16/2010

    @Short, unfortunately it’s not anything with your computer settings but rather with the programming of the website.

  42. Comment #42 - Permalink
    S.Z
    03/02/2010

    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)

  43. Comment #43 - Permalink
    Getnoldfast
    03/17/2010

    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)

  44. Comment #44 - Permalink
    cunni
    03/17/2010

    Cheers for the fix, this should sort my issues with my twitter javascript feed plugin :)

    Cheers!

  45. Comment #45 - Permalink
    ThA-B
    03/24/2010

    Genial. lifesaver. peace!

  46. Comment #46 - Permalink
    Mun
    04/22/2010

    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

  47. Comment #47 - Permalink
    xxxx
    04/23/2010

    from now i can upload my drama movie with the happiest haha thanks a lot

  48. Comment #48 - Permalink
    jon86
    05/07/2010

    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.

  49. Comment #49 - Permalink
    Mr Lewis
    05/10/2010

    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.

    $(document).ready(function(){
    //Do some stuff
    });

  50. Comment #50 - Permalink
    Himel Nag Rana
    06/14/2010

    That worked like magic. Its an wowsome solution! thanks a lot!

  51. Comment #51 - Permalink
    OW
    08/05/2010

    Big thanks!!!

  52. Comment #52 - Permalink
    anupama
    08/19/2010

    hi i am facing the same problem but i am not getting any errors while using internet explorer.
    here is my site http://www.edutech-systems.com i can view it perfectly in mozilla and chrome but problem is with IE.
    only the menu is being displayed
    please help me

It's Your turn

Click here to cancel reply.
You

CAPTCHA Image
CAPTCHA Audio
Refresh Image



About The Author

Richard is a Web Developer currently working for SankyNet. He is available for freelance work. Visit Shifting Ideas for inquiries. Thanks!
  • Premium Email Templates

    Social Profiles

  • Twitter
  • Facebook
  • LinkedIn
  • Digg
  • Google
  • GitHub

    Last Tweet


  • Warning: file_get_contents(http://api.twitter.com/1/statuses/user_timeline/rcastera.json) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable in /home/richardc/public_html/wp-content/themes/rc/sidebar.php on line 43
    Could not load.
  • Follow me
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • September 2008
    • August 2008
    • July 2008
    • June 2008
  • Categories

    • AJAX
    • Apache
    • Books
    • Drupal
    • Ecommerce
    • Flash
    • Google
    • Javascript
    • jQuery
    • Magento
    • Marketing
    • Mootools
    • My Thoughts
    • MySQL
    • News
    • Photoshop
    • PHP
    • Prototype
    • SEO
    • Web Resources
    • Wordpress
  • My Favorites

    • 37 Signals
    • Andrew Warner
    • Chris Coyier
    • Chris Shiflett
    • Collis Ta'eed
    • Development Seed
    • Drupal
    • HubSpot
    • James Padolsey
    • Joel On Software
    • John Resig
    • jQuery
    • Kevin Rose
    • Life Hacker
    • Magento
    • Mashable
    • Matt Cutts
    • Matt Ryan
    • MySQL
    • NetTuts
    • Noupe
    • Photoshop Tutorials
    • PHP
    • Smashing Magazine
    • Tech Crunch
    • WoorkUp
    • Wordpress

2010 © Copyright. Richard Castera - All Rights Reserved.

Top