KNOWLEDGE BASE

Error "Access is denied. clientweb.js" When Embedding a View


Published: 25 Feb 2014
Last Modified Date: 08 Sep 2015

Issue

When embedding a Tableau Server view in a website using an iFrame or javascript, the following error might occur:

Access is denied.
clientweb.js

Environment

  • Tableau Server
  • Internet Explorer 8

Resolution

  1. Enable all Cookies:
    • In Internet Explorer, go to Tools > Internet Options
    • On the Privacy tab, set the slider to Accept all
    • Clear your cookies. 
    • Restart the browser. 
  2. Disable Script Errors:
    • Navigate to Tools > Internet Options > Advanced > Browsing
    • Select Display a notification about every script error.

Cause

Cross-site scripting is breaking the single-origin policy which denies access, resulting in a javascript error.
  • Cookies cannot be passed between sites in different Zones in Internet Explorer.
  • Two separate domains in one site is not supported.
Did this article resolve the issue?