We run into the same issue. I think qlikview will show a license message. To get around this you have to make sure that your scheduled task will run as a licensed user. Also the scheduled task need to load the userprofile. This enables qlikview to read the license information from the profile.
This solves the problem for us.
I have the same problem since I upgraded to version 10 SR1 from version 9.
below my vbs file:
Set MyApp = CreateObject("QlikTech.QlikView")
Set MyDoc = MyApp.OpenDoc ("E:\QlikView\Documents\Scadenze.qvw","","")
Set Button = MyDoc.GetSheetObject("Document\BU01")
Ret = Button.Press
Set MyDoc = Nothing
Set MyApp = Nothing
What do you mean with "runas" command to start QlikView ?
I can't use the above vbscript file ?
Can you give me more info about it ?
Thanks in advance
I have tested this again.
1. Logon as a user.
2. create your script and make sure that it is runing correctly.
3.Create a small batch file with the following content:
4. start your batch file and make sure that it is working correctly
5. create a scheduled task to start your batch file. On the last page of the scheduled Task wizard specify the credentials of the user you are currently using. It seems that this will load the userprofile correctly
This way it is working for us.