How to Fix This Content Cannot Be Displayed in a Frame Error

A newer and more modern browser can solve this issue quickly

by Radu Tyrsina
Radu Tyrsina
Radu Tyrsina
CEO & Founder
Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time). For most of the kids of... read more
Fact checked by Alex Serban
Alex Serban
Alex Serban
Browser & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • The error message stating that this content cannot be displayed in a frame is caused by HTML code problems.
  • One possible fix to such an issue is switching to a better and more stable browser.
  • Follow the solution about resetting your zones to default levels to fix your content not being displayed in a frame.
  • Changing your Internet Explorer privacy settings with our method will also get rid of the error message.
Fix This content cannot be displayed in a frame
Strugling with your current browser? Upgrade to a better one: OperaYou deserve a better browser! 350 million people use Opera daily, a fully-fledged navigation experience that comes with various built-in packages, enhanced resource consumption and great design. Here's what Opera can do:

  • Easy migration: use the Opera assistant to transfer exiting data, such as bookmarks, passwords, etc.
  • Optimize resource usage: your RAM memory is used more efficiently than in other browsers
  • Enhanced privacy: free and unlimited VPN integrated
  • No ads: built-in Ad Blocker speeds up loading of pages and protects against data-mining
  • Gaming friendly: Opera GX is the first and best browser for gaming
  • Download Opera

As obscure as it may seem, you’re likely to run into an error message that reads “This content cannot be displayed in a frame” if you’re still a Microsoft Internet Explorer user.

Microsoft has been trying to distance itself from Internet Explorer with its Chromium-based browser, Microsoft Edge.

Yet still, you may be forced to run Internet Explorer because your job requires it. So what should you do if you encounter this error? The following guide will answer that question for you.

Before starting the troubleshooting process, remember that Internet Explorer is no longer supported with features updates from Microsoft and is no longer as safe as before.

You can try these five ways to fix iFrame errors on Chrome.

Quick Tip

That being the case, one good idea would be to switch to a different web browser altogether, such as Opera.

This tool is fast, powerful, modern, has extensive add-on support, and can even be customized to look and feel however you like it. More so, it is far more stable than IE, so errors like the above will not happen.


Surf the Internet faster than ever before instead of wasting time fixing old browsers by choosing to use Opera instead!

What does it mean when it says this content Cannot be displayed in a frame?

It simply means that the browser can no longer display embedded views of your files or projects. This sometimes happens after a server update and is known to be caused by the following:

  • HTML code problems
  • Missing .Net framework installations in older PCs
  • Compatibility problems with downloaded web page

This issue is not specific to IE, and a similar problem in Safari is txtag this content cannot be displayed in a frame. On PC, users may also experience an Office online frame error. While this is unrelated to IE, they often have the exact causes.

This content cannot be displayed in a frame Internet Explorer 11

Internet Explorer is pretty obsolete but is still great for testing and is one of the most secure browsers. The solutions in this guide work with Internet Explorer 11. They can, however, be adapted to previous versions of IE.

It’s unlikely that you’re still running previous versions of Internet Explorer since Microsoft was basically forcing users to upgrade to the latest version in 2019.

Nevertheless, if you’ve still stuck with IE 10 or 9, you’ll have to tweak the solutions to suit your version or upgrade to IE11. Before continuing with the rest of this guide, ensure that you’ve expanded your browser’s window.

This content cannot be displayed in a frame IE security

This guide will require you to tweak Internet Explorer’s and Windows’s security settings. This could leave your PC vulnerable.

It’s important to note that Internet Explorer may not display a frame or embedded content to protect you from it. In the same way, Internet Explorer only displays secure content.

Sometimes, it may be doing so erroneously. Either way, you’ll need to exercise caution when utilizing these steps. The first thing you need to try is changing your privacy settings.

How do I fix the content cannot be displayed in a frame error?

1. Change your IE privacy settings

  1. Click on the Start menu, type internet options, and click on the Internet Options app.
    this content cannot be displayed in a frame
  2. Click on the Privacy tab, then click on the Sites button.
    this content cannot be displayed in a frame
  3. In the Address of website text field, type in the name of the website triggering the error, then click on Allow and OK.
    this content cannot be displayed in a frame

If this doesn’t work, you’ll need to go into your Internet Explorer security settings and change them.

2. Reset all the zones to the default level

  1. Click on the Start menu, type internet options, and click on the Internet Options app.
    this content cannot be displayed in a frame
  2. Click on the button labeled Reset all zones to default level.
  3. Select Local intranet from the list of four Internet zones, and click the Sites button.
    this content cannot be displayed in a frame
  4. Click on the button labeled Advanced.
  5. If there are any websites in the Website list, click on them and click the Remove option.
  6. Click on Close and click on OK.
  7. Redo this process again, but this time for Trusted sites and then for Restricted sites in step 3.

Internet Explorer may be displaying this error due to a security breach due to phishing or stolen content.

If you’re confident that you’re not viewing malicious or stolen content and it’s still giving you the error – this content cannot be displayed in a frame, you can try changing Internet Explorer’s Compatability View settings.

3. Change the Compatability View settings

  1. Launch IE and navigate to the website with display issues.
  2. Click on the Page menu and then select Compatibility View settings.
  3. Input the name of the website into the Add this website text field, click on Add and then close.
    this content cannot be displayed in a frame

Additionally, you can try enabling ActiveX Filtering from the Tools menu. Turning off Windows Defender Smartscreen Filter may be helpful too.

If none of these solutions worked for you, then the issue is with the content, not Internet Explorer.

Your other options include running the web page or content on a less security restrictive browser or modifying the content if it’s yours.

The former may not be an option if your job limits what browsers you can use at work. Despite Internet Explorer being obsolete, you may be a web developer testing out web pages or an application on it.

4. Use Nginx


If you’re writing a web page and want to prevent certain elements or frames from appearing on specific browsers, you can use the X-Frame-Options response header.

If you’re sending the X-Frame-Options header from an Nginx server, you must ensure that it’s configured correctly.

To make sure that all frames are appearing for all websites and servers, you need to include this line in your Nginx location, server, or HTTP configuration:

add_header X-Frame-Options SAMEORIGIN always;

If you find that you can’t display a frame in Internet Explorer, then the developer or website admin has purposefully designed the content to be inaccessible through Internet Explorer.

Nevertheless, we hope you can use this guide to resolve the troublesome error message.

Note that while trying to resolve the issue, if the publisher of this content does not allow it to be displayed in a frame, there may be nothing you can do. Many admins have claimed that this may be disabled to help protect the security of information you enter into the website.

Let us know in the comments if this has been helpful.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: