<?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 Re: QMC task in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553216#M743401</link>
    <description>&lt;P&gt;Reload is not happening, failed&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 21:24:16 GMT</pubDate>
    <dc:creator>priyarane</dc:creator>
    <dc:date>2019-03-06T21:24:16Z</dc:date>
    <item>
      <title>QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553206#M743398</link>
      <description>&lt;P&gt;Hello Community, For only one document I am getting the below QMC error and for rest of them no failures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: The task "Dashboard" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.WritePermissionkException: Failed to get write permission for file: \Dashboard.qvw ---&amp;gt; System.IO.IOException: The process cannot access the file '\Dashboard.qvw' because it is being used by another process. || at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) || at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) || at QDSMain.AbstractReloadTask.CheckWritePermissionForFile(String fileName) || --- End of inner exception stack trace --- || at QDSMain.AbstractReloadTask.CheckWritePermissionForFile(String fileName) || at QDSMain.AbstractReloadTask.Reload(String fileName, IExecutingTaskResult executingTaskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || --- End of inner exception stack trace --- || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please over here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_Priya&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553206#M743398</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553212#M743399</link>
      <description>&lt;P&gt;Does the reload work when running from the QV client?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553212#M743399</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T21:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553214#M743400</link>
      <description>&lt;P&gt;It appears the QVW associated with that task could not be opened with the file lock, so we would be able to write the updated info back out post reload, which means some other task or process on the server had the file lock.&amp;nbsp; These can be tricky to figure out, but the obvious thing we ask folks to check is if Anti-virus or any other 'active scanning' tools are running on the servers, and if so, we recommend excluding our directories from those tools to avoid these situations from occurring.&amp;nbsp; Scans can be done during maintenance windows when the Qlik services are offline etc. at that point.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To Chris' point though, if you have the Script logs enabled on this app, I expect you got no script/document log in this case, which would confirm we could not open the QVW to do the reload, and the trick is figuring out why the file was in a locked state such that we were not able to open for reload.&amp;nbsp; Sorry, I have not stated things very clearly here, but hopefully this makes a little sense.&lt;/P&gt;
&lt;P&gt;Microsoft SysInternals Process Monitor can be used in these cases if you catch things to try to see what process has the lock etc.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh, just thought of a workaround as well, you could bump up the 'Retries' setting on the Task to more than 1 in this case, that way if this file is sometimes locked, having things retry a few times, hopefully we may be able to always get the lock on a subsequent try and successfully complete things.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553214#M743400</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-03-06T21:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553216#M743401</link>
      <description>&lt;P&gt;Reload is not happening, failed&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553216#M743401</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2019-03-06T21:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553218#M743402</link>
      <description>thanks for the reply, Doc log is not creating for this document. We have many documents over there in the same folder and those are running fine without an issue.</description>
      <pubDate>Wed, 06 Mar 2019 21:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553218#M743402</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2019-03-06T21:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553219#M743403</link>
      <description>&lt;P&gt;if you make sure the doc logs are enabled for the QVW in question, then try running a manual reload. If no log is created then this confirms the answer that Brett provided. Is there section access on the QVW?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553219#M743403</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T21:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553221#M743404</link>
      <description>&lt;P&gt;What if you copy and paste the QVW, the copied version shouldn't have a lock on it (if that's the cause) , you can then test the reload on that one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are all of the QVWs in the same folder? i.e. are working QVWs in the same folder as the non working QVW? if they are in different folders then you could also try and move it to a folder that has a working QVW (if it doesn't mess up any data locations) and try and reload from there. That will rule out any issues with folder permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has the reload EVER worked from the QMC?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 21:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553221#M743404</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T21:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553244#M743405</link>
      <description>It comes sometimes only for ex if this job runs 10 times then we may get 2 to 3 times&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Mar 2019 22:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553244#M743405</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2019-03-06T22:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553247#M743406</link>
      <description>&lt;P&gt;That sounds like its being 'locked' by something if its not every time., as Brett suggested. i would check things like anti virus like he said, make sure the Qlik directories are excluded. it might be that something is happening to that file at the same times the reloads&amp;nbsp; are failing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 22:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553247#M743406</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T22:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553248#M743407</link>
      <description>IT support guys don't agree on it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; as other jobs are not failing from the same folder. Only difference on this dashboard is we have bookmarks on Document and webpage as well.</description>
      <pubDate>Wed, 06 Mar 2019 22:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553248#M743407</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2019-03-06T22:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553254#M743408</link>
      <description>&lt;P&gt;I don't see how any bookmarks could cause a reload failure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you say that it works in the client or not, sorry i can't see a reply for that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it does, does it work all the time or is it the same as the QMC and fails a handful of times?&lt;/P&gt;&lt;P&gt;Because reloads from the QMC do actually work and just fails sometimes, it does suggest the file is being locked by something. I am not good enough on this subject to know what logs you could check at the time of a failure but I'm sure whoever your Qlik support agreement is with (Whether its Qlik them selves or a partner) would be able to help you if it comes to it escalate the problem if not resolved efficiently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work for a partner and my experience with Qlik Support has always been very good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry i couldn't help anymore, maybe someone else can chip in.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 22:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553254#M743408</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T22:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: QMC task</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553256#M743409</link>
      <description>&lt;P&gt;Also, Brett's suggestion on bumping up the reload tries could be a work around whilst investigating the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did have this issue with one of my clients in the past and we bumped it up to 5 (if i remember correctly) and we very rarely seen the issue occur again. obviously the issue was still there, it was just being hidden. as long as the reloads work within those 5 times then thats all that matters for the users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Investigation could carry on between you/IT/Qlik support in the mean time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 22:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-task/m-p/1553256#M743409</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2019-03-06T22:29:20Z</dc:date>
    </item>
  </channel>
</rss>

