Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
qpeng-2020
Contributor
Contributor

failed to open document by webticket

hi all, I'm planning to integrate QV into my website,I got webticket by using IP address white listing and it works. Here was the url I used to get the ticket:
http://qv12/QvAJAXZfc/GetWebTicket.aspx?cmd=<Global method="GetWebTicket"><UserId>panb</UserId>[Groups]</Global>
In fact,even if I use nonexistent USERID, I could still have wenticket
Then, I used this url in browser to open document:
http://qv12/QvAJAXZfc/Authenticate.aspx?type=html&webticket=KIgcfe1ALuR+4iixD/fCI9gqBOSERabwYrMWRxO9&try=http://qv12/QvAJAXZfc/opendoc.htm?document=data visualization.qvw
I get errors: Failed to open document, You don't have access to this document

1.png
then I go back to the home page,only to find my reports all gone.

2.png
(Theoretically, I would have received a report if I have logged in through account)

3.png

I receive the same error report when using local account qvadmin for the test.
I use QV system for domain AC,I am suspecting that it didn’t go to DOMAIN AC searching for corresponding accounts after ticket verification.

here is the configuration for QMC and IIS

4.png5.png6.png8.png9.png10.png

1 Reply
Brett_Bleess
Former Employee
Former Employee

Believe the issue is in your IIS setup, you cannot have IIS doing Windows Auth if you are going to use GetWebTicket method, as when you come back and hit Authenticate.aspx, IIS is going to prompt for credentials etc. at that point I believe, so everything should be anonymous I believe.

Here is an Article regarding customized auth in QlikView:

QlikView Customized Auth 

There is a PDF attached to that with some further information.  We generally recommend working with the Services team or a partner that has done these types of implementations to be sure you get off on the right foot, but what I have provided may do the trick I think.  You also need to be sure you have set the Authorization for the apps too and that the ID for which you are generating the WebTicket matches the ID you set in the Authorization.  I would recommend using browser dev tools to trace the connection and check your cookies and everything or you could use Fiddler too, but that may also provide some insights into what is going wrong.  About the best I can offer, hopefully it helps.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.