6 Replies Latest reply: Jul 17, 2013 2:04 AM by Heino Juho RSS

    Windows batch task

      Hello,

       

      I'm having a bit of difficulty with a batch task that is installed on a particular server. (My batch file is as below). The problem that I am having is that the Qlikview we have installed external of our main network only has Personal Edition installed and I think this is caused the scheduled task to not complete and time out.

       

      "C:\Program Files (x86)\QlikView\qv.exe" /r "E:\Qlikview\Test.qvw"

       

      copy "E:\Qlikview\datasource\Test.qvd"  "\\qvdata\DATA\Source Documents\datasource\Test.qvd" /y

       

      I originally thought it was a security issue that the applicable rights weren't in place when moving the qvd from one server to the other but I have removed the reload aspect from the batch file and the file copies across as expected. I remote access onto the external server with the user "qlikview.service" and the windows task schedule runs as this same user, however I believe the task attempts to run but the Personal Edition error comes up and therefore doesn't run.

       

      Is there anything obvious I am missing with the security (either in the Qlikview application or from a server point of view?)

       

      Many thanks,


      Ralph

        • Re: Windows batch task
          Bill Britt

          You might have to license the Qlikview to get it to work. I just tested it and it worked fine for me.

           

          Bill

            • Re: Windows batch task
              Jerry Svensson

              Hi

              This did work in v9 and 10. Used it on several clients. Don't know about v11 though.

               

              For it to work you have to build the app when logged on as the user "qlikview.service".

                • Re: Windows batch task

                  Hello,

                   

                  Thanks for that. We currently have v10 and the app was developed when logged in as qlikview.service. I'm struggling to solve this one as everything looks fine from a Qlikview point of view and a server point of view, but I'm 99% certain that the problem is in relation to the application starting but the message that it was developed using Personal Edition is coming up which means the Windows task just hangs.

                   

                  Is it possible to have the LEF file on the remote servers so that an actual licence is assigned?

                   

                  Thanks,


                  Ralph

                    • Re: Windows batch task
                      Bill Britt

                      Hi Ralph,

                       

                      To start you will have to license the user that is running Qlikview desktop. Personal Edition is not going to work. So, with that said, I would ask how are you triggering

                      "C:\Program Files (x86)\QlikView\qv.exe" /r "E:\Qlikview\Test.qvw"copy "E:\Qlikview\datasource\Test.qvd"  "\\qvdata\DATA\Source Documents\datasource\Test.qvd" /y ?

                       

                       

                      Are you running Windows Scheduler? If so you have to pick a user to run this under that has a license and profile setup on the server. Also, is "E" drive a phyical driver on the server or a mapped drive?

                       

                      Bill

                        • Re: Windows batch task

                          Hi Bill,

                           

                          Thanks for the response. I have actually just managed to get the job working. There were a number of Qlikview processes that were still running and I simply ended them and the task then worked.

                           

                          Thanks,

                           

                          Ralph

                            • Re: Windows batch task
                              Heino Juho

                              Hi Ralph,

                               

                              I am having a rather similar problem than you had here.

                               

                              Could you answer/verify the following:

                              1. You created the app while logged on as qlikview.service

                              2. qlikview.service has only personal edition [unlike Bill Britt said was possible]

                              3. What kind of security rights does your qlikview.service -account have on the server?

                              4. How is qlikview.service licensed - does it have a Named CAL or a Document CAL to the app in question?

                              5. How did you end the Qlikview processes that were prohibiting the job from working - via Task Manager or some other tool?

                               


                              Thanks,

                               

                              Juho