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

windows service in vb.net using command line to reload in QV11

The code below is in a windows service, builds, and then runs this statement:

c:\program files\qlikview\qv.exe /r \\servername\apps\Qlikview\Datasources\RMA Data QVD Builder.qvw

Dim p As New ProcessStartInfo

p.FileName = myrdrE("Executible")

p.Arguments = myrdrE("Parameters") & " " & myrdrE("FileToRun")

p.WindowStyle = ProcessWindowStyle.Normal

Process.Start(p)

I can look in windows task manager to see that the qv.exe has started but it does not run the .qvw therefore I get no .qvd's.  I have to end task on the qv.exe to get it to stop.

I can take the exact same line and paste it into the Start/Run dialog box and it works perfectly.

We just updgraded to QV 11 from QV 9.  This is the only change and all of this was working in QV 9.

Any ideas what might be going on here or why this might not work any longer?

1 Reply
Colin-Albert

I would guess that the account running the windows service does not have a licence for QlikView.

When you run the task via the Start/Run dialog, then the task is accessing QlikView using your login credentials.