I am trying to create a few very simple workflow plugins, but I can not ever
change anycode and publish it again, which while developing I often need to
I can write some code, and registar this in CRM. I then make a test workflow
and publish this and all works fine. I am then changing my code, unpublishing
the code and publishing my new code, which I can add to a workflow, but as
soon as I try a publish this I get an error saying 'An error occurred when
the workflow was being created'
I have turned on tracing in CRM and I get this error
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x80045001
Error Message: Workflow compilation failed:
WF363: Type WorkflowProject1.WorkflowClass, WorkflowProject1,
Version=22.214.171.124, Culture=neutral, PublicKeyToken=03472f37a75285c6 is not
marked as authorized in the application configuration file.
I am sure that is not a fault in my code as if I create a totally new
solution, copy in the code a registar that it works. I only get the fault the
second time I try and registar code.
I am sure that it is something very simple I am doing wrong, but I can not
find out what it is, so I hope someone can help me.