Page 1 of 1

"Operation Aborted"

PostPosted: Wed Sep 09, 2009 1:45 pm
by Mike
The drasted "Operation Aborted" problem.
Happens a child container DOM element contains script that tries to modify the parent DOM element of the child.



Manifests in many different ways, the worst being the "operation aborted" and the page failing to load. Friendly IE errors indicate the host may not have been found, and in some instances appears as a DNS error.

The ONLY way to beat this is QA, QA, and... QA.

:D

Mike

Re: "Operation Aborted"

PostPosted: Tue Sep 15, 2009 1:55 am
by jay
We have encountered the same issue before in the development stage of a website.

This problem occurs with the client side script such as javascript or ajax.

The reasons include what Mike had mentioned plus :-

1. When a script which needs to be inserted inside the body tag is placed out of body tag. Generally most of the javascript are placed outside the body tag of html, so it’s a good practice to comment the javascript if it needs to be placed inside the body tag such as :-

<!-- Script to be placed inside body tag starts here -->

Code goes here

<!-- Script to be placed inside body tag ends here -->

So that nobody will change the position of the script and if found issues it can be fixed without any delay

2. Usage of too much javascript in a single page can also cause this issue especially too much class scripts such as jquery, mootools etc. Always use only one type of javascript for the whole project rather than different scripts in different pages.

Programmers who have experienced with this issue are welcome to add more points on how they faced and tackled the issue.