Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error when creating a custom login that gets a ticket

I am trying to create a custom login that generates a ticket. I am using classic ASP. This is the code I found in the documentation:

set ntsecurity = CreateObject ("QVSRemote.Client")

ntsecurity.AdminConnect "localhost"

ticket = ntsecurity.Execute("<Global method='GetTicket'><UserId>User</UserId></Global>")

msgbox ticket

The first line returns an error saying the ActiveX could not be created. QlikView Server 10 SR2 is fully installed in the machine and I notice the ActiveX really does not exist by searching for it in Windows Registry.

Do you know what is causing this issue? Maybe the ActiveX is different than this one.

Any help will be appreciated.

2 Replies
erichshiino
Partner - Master
Partner - Master

Hi, Igor.

Please, check one attachment in the middle of this thread. It calls different methods and uses different objects, but it is possible to even make it work from another qvw or excel.

Hope this helps,

Erich

http://community.qlik.com/thread/15988

danielrozental
Master II
Master II

Check these threads. Activex has been deprecated for QV10.

http://community.qlik.com/message/94546#94546

http://community.qlik.com/message/67194#67194