Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

datanibbler
Esteemed Contributor

Scheduled tasks to run every 2hrs fails every time - log ok

Hi,

we have one QlikView-app that has been around for quite a while. Since approx. a week ago, it fails every time - that is one of the last apps in a cascade that runs every 2hrs. That particular app then always runs at approx. xx:25 - the others take that long.

The strange thing about it is that the log is current every time and shows no error whatsoever, but still the app fails and the data is not current.

When my colleague, who can log on to the server and run the app manually, runs it, he gets an error message about some "sharing violation while accessing ...qvw" - he can click on OK and the report finishes all right.

=> Well, seeing that the report waits for an interaction from the user, it's logical that, missing this, it must fail - but what is this? I've never seen this before.

Thanks a lot!

Best regards,

DataNibbler

3 Replies
MVP
MVP

Re: Scheduled tasks to run every 2hrs fails every time - log ok

Have a look at

Encountered a sharing violation while accessing a QV file ????

and check if your file is in use by the methods mentioned there.

hirishv7
Honored Contributor

Re: Scheduled tasks to run every 2hrs fails every time - log ok

Hi,

Try this way.Once Comment the Code for section access in the application and Reload Manually on server.

Else,

Go with the swuehl suggested post above . Removing the Shared File. Make a backup of Shared File.In a case if you require some objects created by user to be back.

Hope this helps,

Hirish

mauricewehbe
Contributor

Re: Scheduled tasks to run every 2hrs fails every time - log ok

If your QV app was running for quite a while and the error happened suddenly then windows may be the culprit by having a file locked:

Try Going in Computer Management - Shared Folders - Open Files.

Here you should see your file if locked

Right click on it, and close it

Run again your schedule and test.

Hope this helps.

Maurice

Community Browser