Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Access Denied error

Hi Guys,

     I am using workbench 10, visual studio 2010.

     I want get the list of selection made in the straight table. For that I am using the following script.

     function init()

        {

            var ch = qva.GetQvObject("CH17", function () {

                alert("CH:" + ch.Data.GetSelected());

            },this);

        }

        Qva.BodyOnLoadFunctionNames.push('init');

     But whenever I load the page, It is giving the following error with the popup.

     Access denied! The server (QVS) has no USER CAL for your account. Please contact your system administrator!

     I dont know why this is happening. But I checked no other user existing.

     So I want to know how the problem is caused and how to solve this.

     Could anyone help me?

Thanks in advance,

Rajan

2 Replies
lhr
Employee
Employee

have you tried assigning a cal to the user running the script? another option could be to enable automatic cal allocation in the qemc.

cheers

Not applicable
Author

Thanks,

I am actually assigned one user CAL to ther user. I would like to update the problem.

using workbench, I am accessing the same qvw document from other pages without any error. I haven't written any javascript there.

but in this page, when I commented the javascript, it doesn't display any error like that.

so do I need to pass any user information through the javascript?