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

Reload failed because the document could not be opened successfully

Hi all,

I get the following message when attempting to reload a document using the scheduler of QlikView Server 9:

The document failed to open.
Exception=System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ObjectDisposedException: Safe handle has been closed
at Microsoft.Win32.Win32Native.SetEvent(SafeWaitHandle handle)
at System.Threading.EventWaitHandle.Set()
at QVBWrapper.Document.Load(ILogBucket i_LogBucket)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at SolutionGlobal.ThreadPoolJob.Execute()
Document could not be opened
Reload failed because the document could not be opened successfully. DocumentState=CouldNotOpenDocument
The task "Productie/Test_scheduler.qvw" failed. ErrorCount=5

The document has data reduction on opening. I have implemented section access according to the pdf dataprotection paragraph 4.5.

Here is a picture of my loadscript

error loading image







3 Replies
Not applicable
Author

Any ideas of how to solve this?

Not applicable
Author

You have to use "*" instead of null in your Section Access, bye.

vgutkovsky
Master II
Master II

Make sure "Admin Overrides Security" is selected in Document Properties. Also, set the section access admin information in the reload task (in the Data Protection section).