KNOWLEDGE BASE

Error "An unexpected error occurred ... Script Error" Accessing Embedded View


Published: 13 Jul 2016
Last Modified Date: 03 Oct 2016

Issue

When using Internet Explorer 11 to view an embedded Tableau Public, Tableau Server or Tableau Online view, the following error might occur:

'An unexpected error occurred. If you continue to receive this error please contact your Tableau Server administrator.
Script error
Script error'
Or
An unexpected error occurred. If you continue to receive this error please contact your Tableau Server Administrator.
Object doesn't support property or method 'matchMedia'
Exception thrown and not caught.

The error does not occur in Google Chrome or Firefox.

Environment

  • Tableau Online
  • Tableau Public
  • Tableau Server 10 and later
  • Embedded view
  • Internet Explorer 11

Resolution

Work with your IT team or website administrator to ensure that the Compatibility Mode is disabled in Internet Explorer 11. code for the webpage/site is updated to a newer version, or beyond IE 8.

Cause

Starting with Tableau Server 10, compatibility with versions of Internet Explorer prior to 11 is no longer supported. Compatibility Mode settings within Internet Explorer 11, and those in the HTML code for the webpage or website, ensure compatibility with older versions of Internet Explorer and may cause the error to occur by forcing the webpage to load in an unsupported Compatibility Mode.

Additional Information

The Compatibility Mode settings for the page may also be found in the HTML meta tags, e.g. '<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7” />'. Updating the tag to EmulateIE10, or removing the tag, resolves the error and allows the view to render successfully in Internet Explorer 11.
Did this article resolve the issue?