MS Ajax SlideShowExtender operation aborted error on IE

Share on Facebook

I have had to deal with one of those needle in a haystack kind of errors for the past few days and after finally pin pointing the source of the error, I felt the obvious need to document the problem, just in case it saves someone else the time and headache it took me to figure it out.

Basically, the problem occurs when you use a MS Ajax SldeshowExtender control on a page with <script> tags which importing javascript files into the asp.net page.

The dreaded Internet Explorer, operation aborted error was persistently occuring even after I had striped the page bare of all components.

Eventually, after hours of troubleshooting, I pinned the problem down to the google analytics tracking code inserted before the closing </body> tag on the page.

When I took out the tracking code, the error ceased. But I still needed the tracking code so I moved the <script> tag which imported the javascript file from google to

the the <head> </head> section of the page, and left the other <script> tags at the position just before the closing body tag. </body>.

It is possible that there is an element naming clash between the SlideShowExtender javascript files aand the google analytics js files. The Internet Explorer Operation aborted error occurs when a child element attempts to modify a parent element. So moving the <script> import from google to the top might have fixed the problem because, at the time it is downloaded, the element name clash does not happen.

This might not be the exact solution for everyone, but I think it provides pointers and clues to help you fix a similar problem when you encounter one. kick it on DotNetKicks.com

 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkListkick it on DotNetKicks.comTwitThis

Comments

July 20. 2008 05:02 PM

Vladimir

I had this message when attempted to do some ajax before DOM was loaded.

Russia Vladimir

July 21. 2008 03:36 AM

miketeye

Vladimir,

My understanding of that IE error is that, a child element is trying to modify a parent element, so it should not happen before the DOM is loaded. What sort of pre DOM operation are you performing?

It took me quiet a lot of troubleshooting to pin point the cause in my case to the google analytics .js include file (probably) having an element name clash with the Ajax SlideshowExtender .js files.

Also, note that if you are employing client side caching, then the error will still be showing after you've made changes to your .aspx file because your .js include files would have been cached on the client and the new copies are not being downloaded. That makes the error look persistent. You will have to find a way of getting the client to download fresh copies of the included .js and .css files. HTH.

United States miketeye

June 18. 2009 12:19 PM

Jason Hoelz


This was my exact problem, slideshow control and google analytics.  This suggestion fixed my problem in 30 seconds.  Thanks!

"But I still needed the tracking code so I moved the <script> tag which imported the javascript file from google to the the <head> </head> section of the page, and left the other <script> tags at the position just before the closing body tag. </body>."

United States Jason Hoelz

Comments are closed

About Me

When not scratching my head for solutions to software challenges, I spend my time playing with my little boy - Michael Jnr.

Quotations

"Anger is never without Reason, but seldom with a good One."
Benjamin Franklin

Donate with PayPal - it

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2005 - 2010

Search