Hello,
Sometimes we get the following exception:
An error processing the current work item has caused the workflow to abort. See the inner exception for details. InnerException Message: The execution of the InstancePersistenceCommand named {urn:schemas-microsoft-com:System.Activities.Persistence/command}SaveWorkflow was interrupted by an error.
We have to write this section in the web.config in order to write the whole trace exception in a file.
<system.diagnostics> <sources> <source name="System.Activities.DurableInstancing" switchValue="Error"> <listeners> <add name="textListener" > <remove name="Default" > </listeners> </source> </sources> <sharedListeners> <add name="textListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\Log\persistenceproblem.txt" traceOutputOptions="ProcessId, DateTime" > </sharedListeners> <trace autoflush="true" indentsize="4"> <listeners> <add name="textListener" > </listeners> </trace>; </system.diagnostics>
Hope this helps
Hi,
What other values apart from Verbose can be used here please?
Error, warning…