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

Errors trying to open AJAX examples

I'm just trying to get the example AJAX pages to show up on the browser and I am getting two errors.

1) A prompt asking for UserID and password.

2) A 'QVA undefined' error.

Any help would be greatly appreciated. Thanks!

1 Solution

Accepted Solutions
Not applicable
Author

The userID/prompt and QVA undefined errors were coming up on the examples because of a server licensing SNAFU where AJAX pages were disabled. Thanks for the help Karl and deh.

View solution in original post

9 Replies
Karl_Humma
Employee
Employee

1) In IIS go to the QlikView virtual directory properties >directory security >Edit > and check enable anonymous access.

2)'Avq undefined' indicates that the qvw the ajax file is pointing to is not present in your qvs document folder. If you go back into the QlikView Server Management Console >Folders tab, make sure under Document Folder >Path it is pointing to the location where the qvw resides.

Hope this helps!

/Karl

Not applicable
Author

Thanks for the help Karl. The anonymous access option was not checked (I was going through integrated windows authentication) but it didn't solve the problem. I've attached the screen shot of the userid/password prompt that comes out because it doesn't look like a windows prompt. I'm guessing antivirus (McAfee) but I turned off the service and it still gave me the error.

As for the undefined error, I'm still getting it although it may be important to note that it is a 'QVA undefined' error as opposed to a 'Avq undefined' error. I checked the web folder directory and the document directory and everything seems to be pointing to the correct location. So I have a qvw in location x that successfully can be viewed on the server through the IE plugin. When I generate the qvw as AJAX, I output it to another folder location as specified in my web folders setting. Is there something I am missing?

Not applicable
Author

Forgot to attach the screenshot...

[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/14/5327.Screenshot.doc:550:0]

Karl_Humma
Employee
Employee

Ok, that login prompt is coming from QlikView. That is section access. Looking at your screenshot I do not see a .htm at the end, so try this http://nts-qlikviewd1/qlikview/AjaxZfc/finanacecontrolling/default.htm

Also to make IIS go directly to the default.htm go to the properties of the AjaxZfc folder documents tab and check the Enable default content page and move the Default.htm to the top if it is not already then hit Ok all the way out of those properties. Then you should be able to go to http://nts-qlikviewd1/qlikview/AjaxZfc/finanacecontrolling/ and get the desired results.

Hope this helps!

/Karl

Not applicable
Author

The prompt is still coming. I didn't think the examples had section access? When I look at the load scripts in the qvw, I don't see any section access applied.

Karl_Humma
Employee
Employee

do you get the same results when browsing from IIS?

or try http://localhost/QlikView/AjaxZfc/FinanceControlling/SH51.htm

You are correct it should not have section access, i was just going by the screenshot you had sent me it appeared to have just gone to user= at the end which is used for section access.

/Karl

Not applicable
Author

Yep, same result when browsing through IIS and going through localhost. Thanks for the info on section access. I didn't realize the userid= suffix at the end indicated section access. I attached all the relevant screenshots I could think of to aid in the diagnosis.

Thanks,

Roy

[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/14/7484.Screenshot.doc:550:0]

Not applicable
Author

To me the UID/PWD prompt is becuase you have disallowed anonymous and have integrated window's authenication turned on. Getting prompted for UID/PWD is exactly what you would expect in this situation. You should enter your login credentials for the domain or local machine that the QVS is on and you should get through.

To use Anonymous access you will need session CALs (not named user CALs) and need to allow anonymous and turn off Integrated Windows Auth.

Not sure about the QVA undefined error. If you enter you UID/PWD for the domain/machine are you still getting that errror?

-Dan

Not applicable
Author

The userID/prompt and QVA undefined errors were coming up on the examples because of a server licensing SNAFU where AJAX pages were disabled. Thanks for the help Karl and deh.