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

document open call failed

Hi All,

My schedulers from QMC are failing with following error in Log files:

4/23/2015 03:12:24.9250874ErrorDocument open call failed. The document might require username and password.
4/23/2015 03:12:24.9250874InformationAttempted to load the document without data.
4/23/2015 03:12:24.9250874ErrorThe document failed to open.

Please help

1 Solution

Accepted Solutions
awhitfield
Partner - Champion
Partner - Champion

Hi Erika,

there are several post such as this, where the Document open call failed. The document might require username and password. error appears to be a Red Herring! After all the Error DOES say 'might'

I would check out the following article https://qlikcommunity.qliktech.com/thread/61646 , in particular the section added by

Regards

Andy

View solution in original post

13 Replies
Not applicable
Author

You have implemented section access in your QVW file?

Anonymous
Not applicable
Author

No , There is no section access.

amit_saini
Master III
Master III

Hi,

Looks to me your qvw id protected from QMC (Section Access) . Please check.

Thanks,
AS

Anonymous
Not applicable
Author

No , Its not the case Amit.

Not applicable
Author

send me the error screen shot

Anonymous
Not applicable
Author

4/23/2015 03:11:36.5941635InformationStarting task 'Stage2/Stage 2 NavItem.qvw'. Id:7159a055-f4b8-4563-830e-b93710648eb5. Triggered by 'TaskCompletedTrigger'. Id:31c7080f-6551-46fa-a00c-cb7f3991e34d
4/23/2015 03:11:36.5941635InformationEntering Task Execution.
4/23/2015 03:11:36.5941635InformationClusterID=1
4/23/2015 03:11:36.5941635InformationQDSID=21629243-55df-f9e5-8a71-87d7477710bc
4/23/2015 03:11:36.5941635InformationTaskID=7159a055-f4b8-4563-830e-b93710648eb5
4/23/2015 03:11:36.5941635InformationMaxRunTime=06:00:00
4/23/2015 03:11:36.5941635InformationMachineName=MMTQVWEB
4/23/2015 03:11:36.5941635InformationMax attempts:1
4/23/2015 03:11:36.5941635InformationCurrent Attempt=0
4/23/2015 03:11:36.5941635InformationTask Dependencies are OK
4/23/2015 03:11:36.7033649InformationDocument is marked to be Reloaded with fresh data. Initializing Reload for Distribution.
4/23/2015 03:11:36.7033649InformationOpening "F:\QVDMAKERS\STAGE2\QVDMAKER\Stage 2 NavItem.qvw"
4/23/2015 03:11:43.9387580InformationAllocating new QlikView Engine. Current usage count=7 of 25 (of type non-reader).
4/23/2015 03:11:43.9387580InformationMax retries:5
4/23/2015 03:11:43.9387580InformationAttempt:01
4/23/2015 03:12:17.7813950ErrorFailed to create QlikView Engine.. Exception=System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {BE1F19B5-415E-11D1-934D-0040333C91CC} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)). ||    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) ||    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) ||    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) ||    at System.Activator.CreateInstance(Type type, Boolean nonPublic) ||    at System.Activator.CreateInstance(Type type) ||    at QVBWrapper.Document.<CreateQVBProcess>b__30(Boolean mutexCreated) ||    at SolutionGlobal.GlobalMutex.Lock(Action`1 action, TimeSpan timeout) ||    at QVBWrapper.Document.CreateQVBProcess(ILogBucket logBucket, Boolean createEmptyDoc)
4/23/2015 03:12:17.7813950InformationFailed to create QlikView Engine - Cleanup and retry (3 second pause before trying again)
4/23/2015 03:12:20.7835341InformationAttempt:11
4/23/2015 03:12:22.8608608InformationOpened the QlikView Engine successfully. ProcessID=29620
4/23/2015 03:12:22.8764610InformationAllocated QlikView Engine successfully. Current usage count=8 of 25 (of type non-reader). Ticket number=16544.
4/23/2015 03:12:22.8764610InformationLoading document "F:\QVDMAKERS\STAGE2\QVDMAKER\Stage 2 NavItem.qvw" (0.22 Mb)
4/23/2015 03:12:23.8904740InformationLoading. LoadTime=00:00:01.0140130
4/23/2015 03:12:24.9250874ErrorDocument open call failed. The document might require username and password.
4/23/2015 03:12:24.9250874InformationAttempted to load the document without data.
4/23/2015 03:12:24.9250874ErrorThe document failed to open.
4/23/2015 03:12:25.5490954InformationClosed the QlikView Engine successfully. ProcessID=29620
4/23/2015 03:12:25.5490954ErrorDocument could not be opened
4/23/2015 03:12:25.5490954InformationClosed the QlikView Engine successfully. ProcessID=29620
4/23/2015 03:12:25.5490954InformationFailed to check in document: F:\QVDMAKERS\STAGE2\QVDMAKER\Stage 2 NavItem.qvw
4/23/2015 03:12:25.9703008ErrorThe task "Stage2/Stage 2 NavItem.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: F:\QVDMAKERS\STAGE2\QVDMAKER\Stage 2 NavItem.qvw ||    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) ||    --- End of inner exception stack trace --- ||    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) ||    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||    --- End of inner exception stack trace --- ||    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)
4/23/2015 03:12:25.9703008InformationTask Execute Duration=00:00:49.3761373
4/23/2015 03:12:25.9703008InformationSending Alert mail
4/23/2015 03:12:31.5389726InformationTaskResult.status=Finished
4/23/2015 03:12:31.5545728InformationNotifying all triggers of new state:FinishedWithErrors
4/23/2015 03:12:31.5701730InformationNotifying all triggers of new state:FinishedWithErrors - completed
4/23/2015 03:12:31.5701730InformationSaving Task Result
awhitfield
Partner - Champion
Partner - Champion

HI Erika,

does the qvw load OK from QV Desktop?

Can you post the QVW?

Andy

buzzy996
Master II
Master II

are u tried to reload manually from QEMC?

Anonymous
Not applicable
Author

From QV Desktop its working fine....

Reload failure is not happening always when I Run through QMC, But sometimes...

Not getting the reason that why its is failing sometimes?