기술 자료

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


게시 날짜: 13 Jul 2016
마지막 수정 날짜: 04 Jul 2019

문제

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.

환경

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

해결 방법

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

원인

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.

추가 정보

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.
이 문서로 문제가 해결되었습니까?