"Operation Aborted"

Programming for Search Engines 101. An area for avid PHP and .NET developers to chat about Programming techniques and how to make better use of search engines.

Moderator: Moderators

"Operation Aborted"

Postby Mike » Wed Sep 09, 2009 1:45 pm

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
Mike
 

Re: "Operation Aborted"

Postby jay » Tue Sep 15, 2009 1:55 am

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.
Jay M
Write Less, Do More
jay
 
Posts: 475
Joined: Wed Nov 22, 2006 12:05 am
Location: Cochin, India.


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests