Unable to load specified workflow from instance store.
I am running across a workflow error with this message:
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Unable to load specified workflow from instance store. Unable to load workflow running instance data. DataTable does not support schema inference from Xml.
Anyone seen this before and how to solve?
Thanks,
Claire
0
-
Hi Claire,
I have not personally seen this particular error, and it doesn't show up in our bug tracker, but it sounds to me like you have a DataTable (such as the results of a database query) and are also using client activities.
When a workflow activity transfers scope from server to client, the in-scope variables are serialized (saved) and then deserialized (restored) when scope returns to the server.
To serialize a DataSet or DataTable, all of the rows and columns are also serialized, as is information about the schema. It sounds like your data has a column type or row value that becomes ambiguous when this happens, although it's hard to say exactly what or why it is happening.
To avoid these types of errors, I recommend using the Server Scope activity to limit your workflow activities to run on the server, and declare/use your DataTable objects in there. That way they can be safely disposed when scope transfers and only the minimum required data is transferred.
Regards,
-Malcolm0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar