7 Replies Latest reply: Feb 6, 2013 2:53 AM by David Boudeau RSS

    Can't reload application in Management console with section access.

      Hi,

       

      I face an issue with section access:

      My application can't be reloaded in management console (Only way in production, no QV desktop).

      If section access script is commented, then the application works and can be reloaded.

       

      In attached file you can find my section access script, and the security file (user who runs QV services is DOMAINE\qvservice)

      SECTION_ACCESS_screenshot.jpg

       

      Here is the error displayed in the management console.

       

       

      01-31 10:55:24) Information: Starting task blabla'. Id:e8226afe-d4d2-4086-9cc6-9c28d0b5d247. Triggered by 'ManualStartTrigger'. Id:00000001-0002-0003-0405-0607080a0b0c

      (2013-01-31 10:55:24) Information: Entering Task Execution.

      (2013-01-31 10:55:24) Information: ClusterID=1

      (2013-01-31 10:55:24) Information: QDSID=67e5159d-9ede-a817-9e94-8ef08b0cd72d

      (2013-01-31 10:55:24) Information: TaskID=e8226afe-d4d2-4086-9cc6-9c28d0b5d247

      (2013-01-31 10:55:24) Information: MaxRunTime=06:00:00

      (2013-01-31 10:55:24) Information: MachineName=

      (2013-01-31 10:55:24) Information: Max attempts:1

      (2013-01-31 10:55:24) Information: Current Attempt=0

      (2013-01-31 10:55:24) Information: Task Dependencies are OK

      (2013-01-31 10:55:24) Information: Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.

      (2013-01-31 10:55:24) Information: Opening "D:\...\....qvw"

      (2013-01-31 10:55:24) Information: Allocating new QlikView Engine. Current usage count=0 of 3 (of type non-reader).

      (2013-01-31 10:55:24) Information: Max retries:5

      (2013-01-31 10:55:24) Information: Attempt:01

      (2013-01-31 10:55:25) Information: Allocated QlikView Engine successfully. Current usage count=1 of 3 (of type non-reader). Ticket number=206.

      (2013-01-31 10:55:25) Information: Loading document "D:\...\....qvw" (8.81 Mb)

      (2013-01-31 10:55:26) Error: Document open call failed. The document might require username and password.

      (2013-01-31 10:55:26) Information: Attempted to load the document without data.

      (2013-01-31 10:55:26) Error: The document failed to open. Bad Username and password is the most likely cause of this problem.

      (2013-01-31 10:55:26) Information: Loading. LoadTime=00:00:01.0140390

      (2013-01-31 10:55:26) Information: Closed the QlikView Engine successfully. ProcessID=12232

      (2013-01-31 10:55:26) Error: Document could not be opened

      (2013-01-31 10:55:26) Information: Closed the QlikView Engine successfully. ProcessID=12232

      (2013-01-31 10:55:26) Information: Failed to check in document: D:\...\....qvw.qvw

      (2013-01-31 10:55:26) Error: The task ".qvw" failed. Exception:

      (2013-01-31 10:55:26) Error: QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: D:\...\....qvw

      (2013-01-31 10:55:26) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

      (2013-01-31 10:55:26) Error:    --- End of inner exception stack trace ---

      (2013-01-31 10:55:26) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

      (2013-01-31 10:55:26) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2013-01-31 10:55:26) Error:    --- End of inner exception stack trace ---

      (2013-01-31 10:55:26) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

      (2013-01-31 10:55:26) Error:    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

      (2013-01-31 10:55:26) Information: Task Execute Duration=00:00:02.1528828

      (2013-01-31 10:55:26) Information: TaskResult.status=Finished

      (2013-01-31 10:55:26) Information: Notifying all triggers of new state:FinishedWithErrors

      (2013-01-31 10:55:26) Information: Notifying all triggers of new state:FinishedWithErrors - completed

      (2013-01-31 10:55:26) Information: Saving Task Result

       

       

       

      It works on my developpment environment, but in production...

      Any Idea? Help from community will be very appreciated !