Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
gandalfgray
Specialist II
Specialist II

How to setup to use Ajax zfc

We have just set up a new Qlikview Server 9.0.7646.9 and are trying to get ajax zfc to work.

We are running to the QV Web server

We have created a simple "Hello World!" type qv application, and are trying to connect to it,
but there is a problem when the webpage calls QvsViewClient.asp,
we just get a blank page and not the qv document we expects
this is from the
QV Web server log when we call http://localhost/Demo/helloqv_ajax/default.htm:


2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/Demo/helloqv_ajax/default.htm
2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/QvAjaxZfc/htc/modal/modal.css
2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/QvAjaxZfc/htc/QvAjax.js
2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/QvAjaxZfc/htc/QvAjaxBaseMgr.js
2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/QvAjaxZfc/htc/QvAjaxScan.js
2010-11-17 11:02:57.4723584 Information Request received [GET]: http://localhost/Demo/helloqv_ajax/PageModifications.js
2010-11-17 11:02:57.5036092 Information Request received [GET]: http://localhost/QvAjaxZfc/htc/QvAjaxModal.js
2010-11-17 11:02:57.5192346 Information Request received [POST]: http://localhost/Demo/helloqv_ajax/QvsViewClient.asp?mark=&view=helloqv.qvw&platform=browser.MSIE 8.0
2010-11-17 11:02:57.5192346 Warning Response aborted, path=/Demo/helloqv_ajax/QvsViewClient.asp
2010-11-17 11:02:57.5192346 Information Request received [POST]: http://localhost/Demo/helloqv_ajax/QvsViewClient.asp?mark=&view=helloqv.qvw&platform=browser.MSIE 8.0
2010-11-17 11:02:57.5192346 Warning Response aborted, path=/Demo/helloqv_ajax/QvsViewClient.asp



So we get response from the generated default.htm-page but there is an error when QvsViewClient.asp is called,
there is no QvsViewClient.asp at the Path specified in the log file,
QvsViewClient.asp resides in C:\Program Files\QlikView\Server\QvClients\QvAjaxZfc

What is missing or wrong in our setup?

error loading image

error loading image

error loading image

1 Solution

Accepted Solutions
gandalfgray
Specialist II
Specialist II
Author

Hi

Finally i found the missing piece of information I needed...

The accesspoint is by default located at http://<server-url/qlikview/index.htm

This is not clearly documented in the QVS reference manual

View solution in original post

10 Replies
suniljain
Master
Master

pls check attached file .

gandalfgray
Specialist II
Specialist II
Author

Hi Sunil

thanks for your suggestion but I verified I have the settings you suggested, and I still get the same problem:


2010-11-17 13:01:59.6521871 Information Request received [POST]: http://localhost/Demo/helloqv_ajax/QvsViewClient.asp?mark=&view=helloqv.qvw&platform=browser.MSIE 8.0
2010-11-17 13:01:59.6521871 Warning Response aborted, path=/Demo/helloqv_ajax/QvsViewClient.asp
2010-11-17 13:01:59.6678124 Information Request received [POST]: http://localhost/Demo/helloqv_ajax/QvsViewClient.asp?mark=&view=helloqv.qvw&platform=browser.MSIE 8.0
2010-11-17 13:01:59.6678124 Warning Response aborted, path=/Demo/helloqv_ajax/QvsViewClient.asp


suniljain
Master
Master

pls try to open application in server through AZAX ZFC in internet Explorer.

pls send me reply whether it is working in server's internet Explorer or not.

then we will move to client

gandalfgray
Specialist II
Specialist II
Author

Hi Sunil

That is what I have been trying.

IE on server, calling http://localhost/Demo/helloqv_ajax

As I described it then automatically finds default.htm in the Demo\helloqv_ajax folder, and finds the js-files but fails to call QvsViewClient.asp correctly.

Do you have any idea why?

gandalfgray
Specialist II
Specialist II
Author

According to the QVS ver 9 documentation "The need to pre-generate AJAX pages for QlikView Server has been
removed. QlikView Server will display documents in AJAX when called upon
,"

If I have Qlikview documents like the following:

The QV webserver sees them like:

I can reach Films.qvw with IE+plugin using qvp://servername/Films.qvw

but what url is the default to use the AJAX client?

According to the documentation you need to "Enter a URL if you want to use your own html pages, instead of the default, for displaying the AJAX pages."

But there is nowhere explained how to call the default AJAX pages?

I guess someone must know this?

gandalfgray
Specialist II
Specialist II
Author

I am a bit surprised that noone seems to be able to explain how to access QV apps using Ajax.

Some of you guys must be using it ?! Hmm

Thanks in advance for any good hints!

gandalfgray
Specialist II
Specialist II
Author

Hi

Finally i found the missing piece of information I needed...

The accesspoint is by default located at http://<server-url/qlikview/index.htm

This is not clearly documented in the QVS reference manual

Miguel_Angel_Baeyens

Hello Goran,

You have that setting in the Enterprise Management Console (it's likely in the Management Console as well), browsing to System, Setup, QlikView WebServers, and in the right pane, Web, Root Folders QLIKVIEW. (v9 SR6).

Note that this address is to get the Accesspoint website, but you can generate a "direct" URL if the document is sotred under the Root Folder configured in System, Setup, QlikView Servers, Folders.

http://server/qvajaxzfc/opendoc.htm?document=Document.qvw


It should ask for user and password if you haven't logged into the Server before.

Hope this helps.

gandalfgray
Specialist II
Specialist II
Author

Hi Miguel

I am experimenting with your opendoc.htm suggestion in combination with different authentication settings, but I always get a "No connection" popup, do you know why?

Regards

Göran