Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Why do I receive an "Operation aborted" error message when I visit a Web page in Internet Explorer?
Article ID: 927917 - View products that this article applies to.
Why do I receive the following error message when I visit a Web page in Internet Explorer?
Answer: Internet Explorer 7 cannot display a particular element on a Web page on that Web site.
Internet Explorer cannot open the Internet site http://<Web site>.com. Operation aborted.
How do I fix this problem?The easiest way for you to fix the problem is to upgrade to Internet Explorer 8. This problem no longer occurs in Internet Explorer 8. To upgrade to Internet Explorer 8, visit the following Microsoft Web site:
You can also contact the Web site owners and tell them that you cannot view their Web site in Internet Explorer 7. If the Web site developers are interested, the More Information for developers section explains how Web developers can make simple changes to their Web sites that will make them fully compatible with Internet Explorer 7. In the meantime, of course, you will be unable to view this Web site, so upgrading to Internet Explorer 8 may be the better option for you.
Windows Internet Explorer 8: Home page
This problem occurs because a child container HTML element contains script that tries to modify the parent container element of the child container. The script tries to modify the parent container element by using either the innerHTML method or the appendChild method.
For example, this problem may occur if a DIV element is a child container in a BODY element, and a SCRIPT block in the DIV element tries to modify the BODY element that is a parent container for the DIV element.
For more information about this error, visit the following Microsoft Web site:
What Happened to Operation Aborted?Note Users may also receive this error message if a Web page in a Trusted Sites Zone sends a HTTP 302 redirect to a page in the Internet Zone. With protected mode, Internet Explorer 7 and later versions that are running on Windows Vista or a later operating system prevent redirects from Web pages that run at medium integrity to Web pages that run at low integrity for security reasons. In these scenarios, users may receive a similar "Operation Aborted" error message. To resolve this issue, make sure that HTTP 302 redirects are for pages within the same zone. For example, make sure that a redirect is from one Trusted Sites Zone page to another Trusted Sites Zone page. Or, make sure that both the source and the destination of the redirect don't involve a change in Internet Explorer's protected mode status.
Workaround 1To work around this problem, write script blocks that modify only closed containers or that modify only the script's immediate container element. To do this, you can use a placeholder to close the target container, or you can move the script block into the container that you want to modify.
Workaround 2You can turn off friendly HTTP error messages in Internet Explorer. This workaround still lets the error message appear. However, Internet Explorer does not move away from the page after the error occurs. This workaround works only for Internet Explorer 6.
To do this, follow these steps:
Workaround 3You can disable Active Scripting in Internet Explorer. This workaround avoids the error condition by preventing any script from running. But, the drawback of this workaround is that the page does not show changes that result from earlier successful dynamic changes to the page. Also, all pages in the same security zone do not have Active Scripting enabled until the feature is re-enabled.
For Internet Explorer 7, use one of the following methods.
Method 1Add the individual site to Restricted Sites where scripting is disabled by default.
Note This method affects not only scripting but also many other areas of the page, including ActiveX controls, that are disabled or set to prompt for this zone.
To do this, follow these steps:
Method 2Set the Active Scripting to Prompt or to Disabled when you view an affected site for the zone in which the site loads.
Note This setting affects all the sites in the zone and should be set back to Enabled when you browse other sites. Determine what zone the site is loaded under by viewing the lower-right corner of the Status Bar.
Example 1In this example, the DIV element is a child container element. The SCRIPT block inside the DIV element tries to modify the BODY element. The BODY element is the unclosed parent container of the DIV element.
To resolve this problem, use one of the following methods.
Method 1: Modify the parent elementMove the SCRIPT block into the scope of the BODY element. This is the container that the script is trying to modify.
Method 2: Modify a closed container elementAdd a closed container as a placeholder in the parent container element. Then, modify the new closed container with a script block.
Example 2In this example, a SCRIPT block that is inside a deeply nested TD container element tries to modify a parent container BODY element by using the appendChild method.
To resolve this problem, move the SCRIPT block into the BODY element.