I sometimes run into problems with the following workflow:
My app has a listview with several docs the user can select from.
Selecting a new doc, the opened doc in the pdfviewer gets checked for modifications and asks the user if he wants to save the changes before switching to the new selected doc.
Sometimes the load of the new doc fails with:
HRESULT: 0x800706BA (RPC Server unavailable)
Stacktrace:
Code: Select all
bei System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
Are DocumentSave and DocumentLoad running asynchron?
Will the new OpenDocument start before the view is ready again?
- OS: Win7
- SDK 2.5.194
What can cause this problem??
Best regards
cew