Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Crm 2011: Custom workflow activity, errors when running in parallel

$
0
0

Hy

I have a Custom Workflow, which I can trigger on-demand. This workflows starts a sub-workflow. This sub-workflow starts a custom workflow activity (assembly).

When the Custom On-Demand Workflow is triggered more than once in a short period of time, when another instance is already running, we have several errors:

- InvalidPointer Exceptions
- ValidateOpen - Encountered disposed CrmDbConnection when it should not be disposed
- Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred in Inactivate.Execute during a service call: ValidateClosed - Db GetCreateConnection() should be closed on End
-...

So there seems to be problems when more than one instance is running in parallel. What could cause this problems?

Thanks for your help,

Peter


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>