Tuesday, May 17, 2011

CRM 2011 Enable Audit issue affecting editing and creating Workflows

A friend of mine, Jim Sheehan, from PowerObjects posted this issue he ran into regarding workflows.  I saw this one come across the forums at one point awhile ago and I didn't respond because I had no clue what the answer was at the time.

Jim Writes, "PowerObjects recently ran into this issue where we were able to edit and create workflow without issues and suddenly we would get the following errors while trying to create or edit a workflow.  No known changes were made to cause the issue."


He stated the error looked like this:
MessageProcessor start executing step c7350ea5-9220-49e4-a0b5-c75e061b6e30 of type ‘Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin’ synchronously for message ‘Update’ for entity ‘workflow’ correlationId e7191b32-93c9-430c-ad8a-e2348d610644.

Crm Exception: Message: “Attribute ‘rules’ on entity ‘workflow’ is deprecated.”, ErrorCode: -2147204299

Web Service Plug-in failed in SdkMessageProcessingStepId: {C6CDBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: workflow; Stage: 30; MessageName: Update; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments,



For the resolution to this issue I would recommend checking out the PowerObjects blog article at:
http://www.powerobjects.com/blog/2011/05/17/crm-2011-enable-audit-issue-affecting-editing-and-creating-workflows/




I hope this helps!

No comments:

Post a Comment