Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

mohamed_ahid
Contributor III

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. ExceptionSmiley Sad2015-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
awhitfield
Esteemed Contributor

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

Does your document contain Section Access?

mohamed_ahid
Contributor III

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

you mean hidden script with section access .NO

Thx

awhitfield
Esteemed Contributor

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

Section Access doesn't have to be in a hidden script.

mohamed_ahid
Contributor III

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

Even in the script .I didn't found any section acces .

giakoum
Honored Contributor II

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

Maybe the user the server is using to reload documents does not have windows access to that file.

But it really looks more like a Qv section access thing...

mohamed_ahid
Contributor III

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

when i reload the application in same server with QV desktop it works .

How can you explain this ?

Thx

giakoum
Honored Contributor II

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

try putting the user you use on your Qv desktop client here :

Capture.PNG

mov
Esteemed Contributor III

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

The service user is probably not the same user you used to run Windows.  Different users - different access.  I think that Ioannis Giakoumakis got it right.

That is, check what the service user is, and make sure it has windows permissions on the QV file.

awhitfield
Esteemed Contributor

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

When running it QV Desktop, you are using the credentials you are logged on with, when running from QMC it will user the credentials of the account running the QV Services..