<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Qlikview 12 task reloading fails in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-12-task-reloading-fails/m-p/96805#M1248339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have been atempting to migrate an existing Qlikview Server 11 installation to Qlikview 12&amp;nbsp; November 2017 and we have been encountering an issue with Qlikview Distribution Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every task we try to reload is queued. I have checked the load balancing parameters inside the QVDistributionService.exe.config file which we left as was configured by default :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- ************ Cluster Settings ************ --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Load balancing formule. Write any JavaScript parsable function (Eval) that returns a number (int). --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- A lower number means less load. Available fields is "NumberOfRunningTasks", "NumberOfQlikViewEngines" --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- "MaxQlikViewEngines", "MemoryUsage", "TotalMemory", "AverageCPULoad". A broken formula will be logged. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="LoadBalancingFormule" value="(AverageCPULoad*400) + ((MemoryUsage / TotalMemory) * 300) + ((NumberOfQlikViewEngines / MaxQlikViewEngines)*200) + (NumberOfRunningTasks*100)"/&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- If the CPU usage % goes above this value the machine is considered overloaded and no new tasks will be started. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="CpuOverloadLimit" value="75" /&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- If the memory usage % goes above this value the machine is considered overloaded and no new tasks will be started. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="MemoryOverloadLimit" value="90" /&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loadbalancing log file , i have the following error everytime i start the distribution service :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;20180717T152412.233+0200 Information ScriptParamsUpdater: Using PerformanceCounterCpuUsage&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.237+0200 Information ScriptParamsUpdater: Using PerformanceCounterMemoryUsage&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.315+0200 Error ScriptExecutor: Error #1: error JS2999: System.UnauthorizedAccessException: Access to path 'C:\Users\Admin_QV\AppData\Local\Temp\k15vbsr5.0.js' is denied.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.315+0200 Error ScriptExecutor: Failed to compile JavaScript. Source code: || public function MyEval(CPULoad:double, AverageCPULoad:double, CPULoadQVB:double, AverageCPULoadQVB:double, MemoryUsage:long, MemoryUsageQVB:long, TotalMemory:long, NumberOfQlikViewEngines:long, NumberOfDedicatedQlikViewEngines:long, NumberOfRunningTasks:long, NumberOfRunningDedicatedTasks:long, MaxQlikViewEngines:long) : double || { return eval((AverageCPULoad*400) + ((MemoryUsage / TotalMemory) * 300) + ((NumberOfQlikViewEngines / MaxQlikViewEngines)*200) + (NumberOfRunningTasks*100)); }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.353+0200 Information LoadMeasurer: MeasureLoadThread starting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;20180717T152412.425+0200 Error ScriptExecutor: Failed to calculate load; no script compiled.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I checked the access rights on the folder the service is accessing, and the user "Admin_QV" which starts the service has full rights on the folder and all subfolders and fils and is the folder's owner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When i tried launching the Distribution Service with the "Local System" user , i don't have the error message anymore and task reloading works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;We have some reservations about using the Local System account to launch QV services for security concerns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The Admin_QV user is a domain user with full Administrative rights on the domain and the local machine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can someone offer some assitance please ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Best regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Qlikview 12 task reloading fails</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-12-task-reloading-fails/m-p/96805#M1248339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have been atempting to migrate an existing Qlikview Server 11 installation to Qlikview 12&amp;nbsp; November 2017 and we have been encountering an issue with Qlikview Distribution Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every task we try to reload is queued. I have checked the load balancing parameters inside the QVDistributionService.exe.config file which we left as was configured by default :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- ************ Cluster Settings ************ --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Load balancing formule. Write any JavaScript parsable function (Eval) that returns a number (int). --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- A lower number means less load. Available fields is "NumberOfRunningTasks", "NumberOfQlikViewEngines" --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- "MaxQlikViewEngines", "MemoryUsage", "TotalMemory", "AverageCPULoad". A broken formula will be logged. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="LoadBalancingFormule" value="(AverageCPULoad*400) + ((MemoryUsage / TotalMemory) * 300) + ((NumberOfQlikViewEngines / MaxQlikViewEngines)*200) + (NumberOfRunningTasks*100)"/&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- If the CPU usage % goes above this value the machine is considered overloaded and no new tasks will be started. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="CpuOverloadLimit" value="75" /&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- If the memory usage % goes above this value the machine is considered overloaded and no new tasks will be started. --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="MemoryOverloadLimit" value="90" /&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loadbalancing log file , i have the following error everytime i start the distribution service :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;20180717T152412.233+0200 Information ScriptParamsUpdater: Using PerformanceCounterCpuUsage&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.237+0200 Information ScriptParamsUpdater: Using PerformanceCounterMemoryUsage&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.315+0200 Error ScriptExecutor: Error #1: error JS2999: System.UnauthorizedAccessException: Access to path 'C:\Users\Admin_QV\AppData\Local\Temp\k15vbsr5.0.js' is denied.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.315+0200 Error ScriptExecutor: Failed to compile JavaScript. Source code: || public function MyEval(CPULoad:double, AverageCPULoad:double, CPULoadQVB:double, AverageCPULoadQVB:double, MemoryUsage:long, MemoryUsageQVB:long, TotalMemory:long, NumberOfQlikViewEngines:long, NumberOfDedicatedQlikViewEngines:long, NumberOfRunningTasks:long, NumberOfRunningDedicatedTasks:long, MaxQlikViewEngines:long) : double || { return eval((AverageCPULoad*400) + ((MemoryUsage / TotalMemory) * 300) + ((NumberOfQlikViewEngines / MaxQlikViewEngines)*200) + (NumberOfRunningTasks*100)); }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;20180717T152412.353+0200 Information LoadMeasurer: MeasureLoadThread starting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;20180717T152412.425+0200 Error ScriptExecutor: Failed to calculate load; no script compiled.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I checked the access rights on the folder the service is accessing, and the user "Admin_QV" which starts the service has full rights on the folder and all subfolders and fils and is the folder's owner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When i tried launching the Distribution Service with the "Local System" user , i don't have the error message anymore and task reloading works as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;We have some reservations about using the Local System account to launch QV services for security concerns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The Admin_QV user is a domain user with full Administrative rights on the domain and the local machine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can someone offer some assitance please ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Best regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-12-task-reloading-fails/m-p/96805#M1248339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview 12 task reloading fails</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-12-task-reloading-fails/m-p/96806#M1248343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried changing the user with which the service was started to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it okay to launch qlikview services with Local System default user or is it a security concern ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 08:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-12-task-reloading-fails/m-p/96806#M1248343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-24T08:35:37Z</dc:date>
    </item>
  </channel>
</rss>

