Internet Explorer Cannot Open the Internet Site Operation Aborted, how to fix this error?

http://www.tothepc.com/archives/internet-explorer-cannot-open-the-internet-site-operation-aborted-how-to-fix-this-error/

 

Here is the situation, you are trying to open a webpage. Website loads and you see a pop up message “Internet Explorer Cannot Open the Internet Site Operation Aborted”, click on ok and partially loaded page turns to “page cannot be displayed…”.

If you open same webpage in other web browser like Firefox, webpage will load fine and there will no error. I have seen such errors on number of websites and always though it was bad website coding or internet connection and moved on to other website.

Hell broke lose when I started getting the same dreaded error on my other website and I could not access any webpage in Internet Explorer. However, website worked fine in Firefox. Surely something was wrong there.

I googled around and landed at Nirmal TV, this and this. So reading some good amount of documentation and comments on number of websites I was able to figure out the cause of error. This is basically issue with Internet Explorer not able to understand ‘Javascript code’ on your website. It is more to do with the placement of that Javascript code. Here is what I did to fix this:

  • Removed all the Javascript codes of Adsense, Feedburner & other.
  • Then added Javascript code one by one and checked for the error.
  • Bingo, I found it was my Kontera Javascript Ad code causing issue.

Here is the final Punch, this code was placed at the bottom of the template. I removed the code and did not get the error. But it was surely placement of the code and not the code causing the issue.

Then I placed the code before “” and issue was finally resolved. So if you are dealing with similar error, try to play around with  the placement of Javascript code in the template and issue should be fixed. Other possible reason for such issue is Google Map API in the code (like when you have a Google Map embedded in your webpage). Check here to deal with that.

One funny resolution to this issue can be “STOP USING IE”. Well easier said than done, still lots of people use IE and they will not able to access my website. So this error had to be taken care off!

你可能感兴趣的:(JavaScript)