Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

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

Errors trying to open AJAX examples

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.

9 Replies
Employee
Employee

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

Forgot to attach the screenshot...

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

Employee
Employee

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

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.

Employee
Employee

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

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

Errors trying to open AJAX examples

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.

Community Browser