07-31-2013 08:21 AM
We have a series of Doc Comp templates that work fine when using the Composition Preview tool in Word with an actual source document from OnBase. We are using the SYS - Compose Document action in Workflow to create documents from these templates using the exact same type of source document. When we execute the action in Workflow using the Thick or Thin Client, the composed document window opens, but it contains no content. When we execute the action in Worklfow using the Unity client, an exception message results.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Attempt to access invalid address.
at DSOFramer._FramerControl.Open(Object Document, Object ReadOnly, Object ProgId, Object WebUsername, Object WebPassword) at AxDSOFramer.AxFramerControl.Open(Object document, Object readOnly, Object progId, Object webUsername, Object webPassword) at Hyland.Canvas.Controls.OleInterop.OleActiveDocumentContainer.LoadFromFile(String filePath, Boolean isReadOnly) at Hyland.Canvas.Controls.OleFileViewer.<>c__DisplayClass2.<ShowPreview>b__0(String s) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType 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 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
07-31-2013 10:54 AM
Hi Steve,
Do you still get this error when composing in Workflow if you turn off the Composition Preview when executing the Workflow action? Also, does the error happen if you Compose a document with a Preview before archiving it outside of Workflow?
Thank you,
Jordan
08-01-2013 05:50 AM
When I turn off document preview the error goes away. Since these are mostly "form documents" I will keep the preview setting disabled and instruct the users to open the document after it is created for reviewing and updating.
Steve Beck
08-01-2013 08:26 AM
Hello,
Is there a need to install the Doc Comp software on the client computers for this to work? Or are you doing this from the same workstation that already has the software installed?
Thanks,
08-01-2013 09:30 AM
Hi Nathan,
If composing from the Web Client, the Document Composition components will need to be installed on the Workstation via the Hyland Document Composition v2.0 installer. If composing from the OnBase Client or Unity Client (in version 12 and up), the Doc Comp components are built-in to those respective Client installers.
Steve, are you able to open other Word documents (not created by Document Composition) stored in OnBase on this Workstation?
Thank you,
Jordan
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.