Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mohamed_ahid
Partner - Specialist
Partner - Specialist

Document open call failed. The document might require username and password.

Hi all ,

I'm facing an issue with reloading a task on server 11G.i'M gettin the error log file bellow.

when i reaload the application with desktop on server it works .

and in the application there is no hidden script .

Any idea ?

Thx

(2015-02-20 11:40:59) Information: Starting task 'Market-Management-Particuliers-Book/Book - Particuliers.qvw'. Id:6fc1dd6c-dc88-4f21-a926-d5701e23aa24. Triggered by 'ManualStartTrigger'. Id:00000001-0002-0003-0405-0607080a0b0c(2015-02-20 11:40:59) Information: Entering Task Execution. (2015-02-20 11:40:59) Information: ClusterID=1(2015-02-20 11:40:59) Information: QDSID=f3a25325-89af-3ac5-a95f-2dbce111cd5c(2015-02-20 11:40:59) Information: TaskID=6fc1dd6c-dc88-4f21-a926-d5701e23aa24(2015-02-20 11:40:59) Information: MaxRunTime=06:00:00(2015-02-20 11:40:59) Information: Max attempts:1(2015-02-20 11:40:59) Information: Current Attempt=0(2015-02-20 11:40:59) Information: Task Dependencies are OK(2015-02-20 11:40:59) Information: Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.(2015-02-20 11:40:59) Information: Opening "D:\QV-ROOT\MARKET MANAGEMENT - PARTICULIERS\05-APPLICATIONS\BOOKS\Book - Particuliers.qvw"(2015-02-20 11:40:59) Information: Allocating new QlikView Engine. Current usagecount=1 of 2(2015-02-20 11:40:59) Information: Max retries:5(2015-02-20 11:40:59) Information: Attempt:01(2015-02-20 11:41:00) Information: Allocated QlikView Engine successfully. Current usagecount=1 of 2, Ticket=4(2015-02-20 11:41:00) Information: Loading document "D:\QV-ROOT\MARKET MANAGEMENT - PARTICULIERS\05-APPLICATIONS\BOOKS\Book - Particuliers.qvw" (8259.87 Mb)(2015-02-20 11:41:01) Information: Loading. LoadTime=00:00:01.0140065(2015-02-20 11:41:03) Information: Loading. LoadTime=00:00:03.0420195(2015-02-20 11:41:05) Error: Document open call failed. The document might require username and password.(2015-02-20 11:41:05) Information: Attempted to load the document without data.(2015-02-20 11:41:05) Error: The document failed to open.(2015-02-20 11:41:06) Information: Closed the QlikView Engine successfully. ProcessID=5012(2015-02-20 11:41:06) Error: Document could not be opened(2015-02-20 11:41:06) Information: Closed the QlikView Engine successfully. ProcessID=5012(2015-02-20 11:41:06) Information: Failed to check in document: D:\QV-ROOT\MARKET MANAGEMENT - PARTICULIERS\05-APPLICATIONS\BOOKS\Book - Particuliers.qvw(2015-02-20 11:41:06) Error: The task "Market-Management-Particuliers-Book/Book - Particuliers.qvw" failed. Exception:(2015-02-20 11:41:06) 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:\QV-ROOT\MARKET MANAGEMENT - PARTICULIERS\05-APPLICATIONS\BOOKS\Book - Particuliers.qvw(2015-02-20 11:41:06) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)(2015-02-20 11:41:06) Error:    --- End of inner exception stack trace ---(2015-02-20 11:41:06) Error:    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)(2015-02-20 11:41:06) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)(2015-02-20 11:41:06) Error:    --- End of inner exception stack trace ---(2015-02-20 11:41:06) Error:    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)(2015-02-20 11:41:06) Error:    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)(2015-02-20 11:41:06) Information: Task Execute Duration=00:00:06.4116411(2015-02-20 11:41:06) Information: TaskResult.status=Finished(2015-02-20 11:41:06) Information: Notifying all triggers of new state:FinishedWithErrors(2015-02-20 11:41:06) Information: Notifying all triggers of new state:FinishedWithErrors - completed(2015-02-20 11:41:06) Information: Saving Task Result

Labels (1)
36 Replies
Anonymous
Not applicable

Hi Steve, did you find any solution and/or cause for this? We are facing the exact same issue.

The same error happens intermittently to a client and we cannot figure out why. The document is not being accessed from another program, it is surely not section access and I cannot see how could it be a issue of lack of resources. Really appreciate any insights. Thank you.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Cláudia,

I'm afraid I can't remember which of my clients had this issue, or what the resolution was.  I don't have any clients who are suffering from it at the moment though.  Have you tried upgrading to the latest version of QlikView.  As most releases now focus on stability it is getting really solid now.


Steve

navaneethqv
Contributor III
Contributor III

HI Bill,

Will the increase in heap size work for servers with less than 9 cores? Our server is with 8 cores and we are facing the same "Document open call failed. The document might require username and password." errors. Some other kind of errors faced are "QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path".

In all the cases, a manual rerun resolves the issue. But we are getting these errors more often. Any suggestions?

Bill_Britt
Former Employee
Former Employee

HI,

The Heap setting is normally a problem when there are more than 9 tasked ran at once, because of a Microsoft limitations on Comm Objects.

Has the task every run without issue? If not is section access applied to the document? Is the document located where someone could be opening it in Desktop at the same time as it is trying to be reloaded?

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Chip_Matejowsky
Support
Support

Hi Claudia,

Suggest that create a separate post to address your issue. Please be sure to include the full task log.

-Chip

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
navaneethqv
Contributor III
Contributor III

Hi Bill,

Thanks for the reply!!!!

At a time we have maximum 4 tasks running.

Its a scheduled task an the task runs without issues mostly, but on some days these errors occur. Recently,errors have become more frequent. A manual rerun of task solves it, but needed to find what the actual issue is causing the error.

Section access is applied, but as the task runs successful in most days, I don't there should be some issue with section access.

It's sure that the document is not opened when the task is reloaded.

Regards,

Navaneeth

acardella
Partner - Creator
Partner - Creator

The only way I found to solved is by setting all QlikView Services with an admin user that have full right on folder and a named cal assigned.

Have also an ACCESS=ADMIN entry into document SectionAccess

I tryed also to set into Section Access property user credentials into Document reload settings but nothing.

Everything worked properly with a local admin user before I switched on the SA on doc.... and local admin did not have a cal assigned

Agostino