Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaykumar1
Creator III
Creator III

Error in the log file

Hi Everyone,


Am refreshing one application then in the log files some times am getting the below error.But when am running later on its working fine.There is no section access in script.


1/12/2015 4:43:51 AM Error Document open call failed. The document might require username and password.
1/12/2015 4:43:51 AM Error The document failed to open.
1/12/2015 4:43:52 AM Error Document could not be opened



I need to know whether its happening due to any DB connection problem or with QV problem.

More Thanks,

Ajay

8 Replies
tresesco
MVP
MVP

Check and stop if there is any anti-virus running.

ajaykumar1
Creator III
Creator III
Author

Thanks Tresesco.But its working properly always.But am getting error few times.But after rerun its working fine.

It is distibution task and QV11.

Thanks ,

AJay

nagaiank
Specialist III
Specialist III

Have you used Section Access in the script?

ajaykumar1
Creator III
Creator III
Author

No Section access script.

Thanks,

Ajay

its_anandrjs

Hi,

In your Data Base connection is there any user name password requires. Also check in which lie you get error and for proper problem use Debug option in the script editor and also you can use Trace commend to find error where you get error. You can use it in multiple lines.

Ex:-

Load * From Source;

Let vText1 = 'Load Success';

Trace $(vText1)

Regards

Anand

ajaykumar1
Creator III
Creator III
Author

Thanks Anand.Here am finding some strange kind of error.

My ditribution task has been failed with The document might require username and password.But am rerun that distribution  task after 2 mins.Then its successed.So in this time i can't check with Debug option.

As per my understanding if its works fine after 2 mins in the sense then it will work in edit script level also.

I have to understand why its failed with that error.

Thanks,

Ajay

Not applicable

This error occurs when the Distribution Service is trying to open the document via the QVB.exe but the QVB fails to do this for some reason. One common reason as pointed out by other people here is the the user name and password is incorrect.

Depending on what version you are running, you might have the possibilty to generate a debug log for the QVB which could get you a clue on what is failing.

I suggest you contact QlikView Support to get assistance with enabling the QVB log.

ajaykumar1
Creator III
Creator III
Author

Thanks Magnus..

I will check with qliktech people if in case am getting the regularly.

Thanks,

Ajay