WorkFlow Error when publishing

Hello, 

I am having errors publishing workflows. This was working and all of a sudden stopped. From the error message I am taking it as a permissions issue? 



Here is the code it spits out: 

System.InvalidOperationException: Operation failed with error System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Microsoft.SharePoint.SPAppPrincipalManager.GetManager(SPWeb web)
   at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.EnsureAppPrincipal(SPWeb elevatedWeb)
   at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.<SetupApplicationEcosystem>b__3()
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<Run

Anyone have any thoughts? This happens with all sorts of workflows, even basic ones as shown in the above example!

Thanks,

Will 


  • Edited by WillG92 Friday, January 30, 2015 4:48 PM
January 30th, 2015 6:05pm

Hi Will, definitely permissions based. Check this link for possible solution:

http://world.episerver.com/Forum/Developer-forum/EPiServer-CMS-5-R2/Thread-Container/2010/8/Attempted-to-perform-an-unauthorized-operation-ERROR/

Free Windows Admin Tool Kit Click here and download it now
January 30th, 2015 11:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics