Advertisements

Of late few of my blog readers using Internet explorer pointed out to me that there was some error happening while loading my blog in IE. Around 25% of my readers use Internet Explorer to read my blog. I check my blog frequently in IE and many times I too encountered this error, but initially I thought it was some error in my browser. The error is really frustrating as it shows only in IE and not in Firefox or Opera or any other browser for that matter.

The nature of error is that it shows up when the site is loads completely. This is what you see when the error occurs.

Internet Explorer Error

Once you click OK, the page is replaced with “The Page cannot be Displayed” error. How to fix this error?

A bit of Googling gave me some idea into this error. This error can happen because of many reasons. Microsoft has even a patch for solving this error in IE.

1. This error can happen if Google Map API is present in the code. If you are getting this error because of Google Map API, then the fix for the problem is available here.

2. If you are not using Google API and still getting the error, then it could be because of this reason.

It is not possible append to the BODY element from script that isn’t a direct child to the BODY element

If there are any Javascripts running inside the body tag or inside a table which is directly a child of body, then most of the times this error is bound to happen. The solution is to move the script to the top or bottom of the body tag or even moving it after the body. The script can also be put inside a function and then calling it from window.onload. Another solution to this problem is to add defer=”defer” in the script tag.

I checked my code for scripts which were running inside the body tag and was a direct child to it. Then I moved all my Javascript codes to bottom of the body tag so that it will not interfere while parsing the page. I tested my blog in IE after I made the change and I could see the difference, the error was not happening any more. I checked in different versions of IE to confirm. In case you are using IE and still getting the error on my blog, please do inform me.


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

  1. Pete says:

    People, you are making this far too complex…Forget about modifying code!…The work around is:

    The work around is to go into IE —> Tools —> Options —> Advanced —> Put a check in the box “Use HTTP 1.1 through proxy connections” Apply/OK

    Worked for every user so far where I work!

  2. El Santo says:

    The solutions is open the index.php of your template and find the
    And after you have to open the tag body

  3. Alto says:

    Thanks Nirmal, the root cause of the problem is the js within the body tag

  4. Daniel says:

    You are awesome man, i was getting this same issue in another situation, and putting in defer=”defer” did the trick, working great now. Thanks so much!

  5. Riccarda says:

    Hi

    This blog helps me to fixed one page on my site. i used ” defer=”defer” ” and i had no problem anymore,, thanks very much

  6. Saravanan Somasundaram says:

    Hi Guys,
    I fixed this problem to move the javscript outside the body.

    thanks & regards
    saras

  7. Grace says:

    OMG you rock! Thanks so much! I had a client that was getting this issue (not the most savvy with internet browsers) when viewing a website I built. I was using swfobject and noticed that it didn’t occur when I commented out the JS write function. I added defer=”defer” to the script tag and it fixed it :)

  8. me says:

    This was very helpful

  9. Jeanette says:

    Find the link or shortcut to the site. Go to Tools, Internet Options, Security, Restricted sites, Sites, Add

    Just paste the site , click on add, close, OK

    The site should now be secure and your computer should open it.

  10. echal says:

    Hi Nimal/anyone

    Can anyone show me step by step of how/where to add the “‘defer” in the script or move the script of the body tag as it happen to my blog also.
    Please Help! TQ

  11. Rietveld says:

    Had the problem all of a sudden after it worked for years. Deleted the “followers” feature in blogger and problem went away

  12. ramsankar says:

    thansk a lot buddy u r comment helped me a lot .i use defer=”defer” it works fine for me.Thank u

  13. [...] with the loading of page by trying to load elements before the page has been fully parsed. The common solutions are to move the script outside the body etc. However, in blogs where the page is dynamically [...]

  14. Hi gusy….
    WordPress Guru here….
    Dear all friends, If you are using WordPress latest version for your site and facing this silly IE error…
    No worry, i had also such silly error… Now it solved… now runs well in IE.
    Run my customer’s site here http://www.chefmartyrich.com
    It was occurs due to LightBox 2 plugin, If you are using this plugin and facing out this silly error.
    Simply De-Activate LightBox 2 plugin. Then runs your site. it will work fine.

    Thank you all guys for the Hot discussion for MS IE silly error…
    Share your more ideas to fix this error…

  15. brian says:

    man.. this drives me crazy.. what if i don’t have any google map related javascript and still getting this error?

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

  17. Doy C. Sneckenberger says:

    For over a year I have been having trouble logging into sites that use a USER Name and Password with IE8.

    First noticed it with Konica Minolta Print servers then HP Print servers and Sonicwall Firewall. Now it is spread to numerous sites and even our web mail servers and Network Solutions Servers. Microsoft dies not seem to see anything wrong and the issues and Network Solutions says to use IIE ver 6. I use Mozilla for anything that does not display properly or will not log me in after the first try. If anyone has any details or fixes I would appreciate hearing them.

    It is even hitting Outlook Mail that uses POP servers now. They may or may not log in correctly with NO Cahange to the setup other than IE8 upgrade/rollout. It is only going to get worse with the latest push out of IE8.

    Thanks!

    Doy C. Sneckenberger
    VP Hagerstown Block in Hagerstown, MD
    DoySneck@aol.com

  18. joe says:

    I use Firefox at home, but that is not an option here at work. I wonder if there is a solution from the user side to fix the problem. When I clicked the link to ryangrant.net I got another error.

  19. Ghost Bear says:

    Thanks a lot for that post – i solved damn problem with IE finally.

  20. sky1tech says:

    OMG WHAT A PAIN IN THE A$$!!!

    OK Mine was all because of 1 missing at the bottom my code.

    In 12 years of developing, this has never happened to me before.

    Make sure you guys check your DIVS

  21. Basma says:

    I am having this problem in IE while loading a birt viewer report with prameters.

  22. Mahesh says:

    I am having this problem in IE where i have included shadow box-base.js and Contentslider.js
    These two files are conflicting. If i comment any one of file in these two, IE is working in good condition. So now i have shifted my shadow box code to after the body tag. So now it’s working.

    Thank’s for your idea.

  23. thebruce says:

    I’ve actually found that there may be some third party add-ons that alter the page content from within. Try disabling various browser add-ons to find out what the culprit is. I’ve found that it was my IE7 Pro add-on that was causing issues (perhaps with its live RSS clickable link list after an html scrape).

    Go to Tools, Manage Add-ons, Enable or disable add-ons, then take’em out one by one until the site in question loads correctly. Then you know the culprit add-on.

    Facebook and Bing recently have been causing me problems. While it is an annoyance, it’s apparently a design choice (though the redirection to an error page is really annoying) – the error itself is understandable, programmatically. Modify closed tags. Script that tries to edit an incomplete/unclosed element, IMO, is faulty, and should be fixed (such as moving script to the beginning or end of the page content, or to the HEAD block).

  24. Unambihuo says:

    thx thx thx… Thanks !!!
    The Lightbox issue can also be a problem using MediaWiki.
    - The post and the comments were very helpful since IE was the very last browser in my mind while testing a site.

  25. sonia says:

    hi im having an issue about internet browser not available i get a block error my wireless connection has connection but internet will not work i have windows xp hp pavillion pc can u please help me i dont know much about pc
    thnaks sonia

  26. gkaruppusamy says:

    Thank you very much. I have much more annoy with dynamic script. your solution is real solution for my annoy

  27. Aaron says:

    why would you put defer=”defer” in the script tag? that disables it!!

  28. Prathyusha says:

    One of the users of my website quoted saying this error occurred while accessing my website. I tried to replicate the same but coud’nt reproduce it with all the possible IE’s. What possible could be the reason? Does the load on the server too play a role?

  29. Tiraerax says:

    My website works fine in firefox. But once u open it in internet explorer it says “Internet Explorer cannot open site…”

    I read a lot about it… and there are several solutions. One of the solutions was to add a ” defer = “defer” to the javascript…. I did that… nothing happened.

    The other solution is to move the java script below the body section and that wont work for mine. I have a Gavick Template (YourFlash) and the html files dont really have nothing in them. Can somebody checkit out? I dont know what to do, can somebody help??? http://tiraerax.com

  30. Stephanie says:

    Please help! I tried adding defer or moving them to after the body tag. It doesn’t help.

  31. Stephanie says:

    I checked more and I get “Object Expected” error at line 1053 which is which is part of this



    1

  32. Alecs says:

    Thank you a lot ! This helped me vey much !

  33. This is an infuriating problem, I have just finished developing this site only to be stumped at the last !

  34. shivu says:

    hi frd its working :) thanks for comments :)

Leave a Reply