Trying to embed Qlik Sense visuals in a website, both on the same server (IIS and Qlik Sense). My JavaScript file has a code to open an App and access an object :
var app = qlik.openApp('13892ddf-79b8-480f-aa07-3556683f4ed3', config);
app.getObject(document.getElementById('TopCust'), 'XWxKDzh');
because of this code, I see errors in this order:
"listener must be a function"
![Inline image 1](https://mail.google.com/mail/u/0/?ui=2&ik=c623ef1b58&view=fimg&th=16099b2e998d001b&attid=0.3&disp=emb&realattid=ii_16099ab9f6aa1d1b&attbid=ANGjdJ9T4t7H-rj4vqGAIpZ6tnJbxeuiKL75phfk7IbkedZAH5nlAg-FZwfZ_oS8KSUvAjD33ax_6sLveIDcAnderwb9wPukPbB_ncTo_kiFvPeN6FttWIH5AQwg0dg&sz=s0-l75-ft&ats=1514410036275&rm=16099b2e998d001b&zw&atsh=1)
The page refreshes and same error message shows 2-3 times and then gets redirected to this:
"Windows authentication (or Service Unavailable)"
![Inline image 2](https://mail.google.com/mail/u/0/?ui=2&ik=c623ef1b58&view=fimg&th=16099b2e998d001b&attid=0.1&disp=emb&realattid=ii_16099ad33b3cb35c&attbid=ANGjdJ8s6fPdfqJegzchO6YUEt5ingDbkrhi5ZdAV4PW_JcRpQSpGA8O8XsPVqiLjzd2-dzHegzQ0NypnjjTqldtV_Tbzix9Y5ygx5LuDOIrUSUFr7bTMiMTd64MyjI&sz=s0-l75-ft&ats=1514410036275&rm=16099b2e998d001b&zw&atsh=1)
In Qlik Sense QMC, this is how the Virtual Proxy is set up:
![Inline image 3](https://mail.google.com/mail/u/0/?ui=2&ik=c623ef1b58&view=fimg&th=16099b2e998d001b&attid=0.2&disp=emb&realattid=ii_16099ae1ce685e40&attbid=ANGjdJ9ZVwLFqVrnLaIs4MnAGh6BbXBzk-EKePIzkMgNJKQ_JlQH7NmfGlcNSLCABBmtTOS9m_ugoxas2Ri7R6d6kRiN6vWZsGtY8rXjUeAcpX37vYC2LCMuXw1Eu3c&sz=s0-l75-ft&ats=1514410036275&rm=16099b2e998d001b&zw&atsh=1)
Any ideas on resolving this ?