BASE DE CONOCIMIENTO

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


Publicado: 13 Jul 2016
Fecha de la última modificación: 24 Oct 2022

Problema

When using Internet Explorer 11 to view an embedded Tableau Public, Tableau Server or Tableau Cloud 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.

Entorno

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

Solución

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.

Additionally, if the error occurs while using the revert button of an embeded vizulation, using the following tsm command  should resolve the issue with IE: 
tsm configuration set -k vizqlserver.protect_sessions false

Causa

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.

Información adicional

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.
¿Fue de ayuda este artículo para resolver el problema?