SharePoint 2013 – An unhandled exception occurred during the execution of the workflow instance

My Problem I had a problem with a SharePoint Designer Workflow I was creating a task and assigned it to a SharePoint group. Then I got the error: Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform … Continue reading SharePoint 2013 – An unhandled exception occurred during the execution of the workflow instance

Advertisements

SharePoint 2013 – System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.SharePoint.Client.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies

System.IO.FileNotFoundException During the deployment of a solution to my test environment I got the following error: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. at triad.customer.intranet.Features.CGFixNewCaseLibrary.CGFixNewCaseLibraryEventReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags … Continue reading SharePoint 2013 – System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.SharePoint.Client.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies

SharePoint 2013 – Exception calling “StartWorkflow” with “4” argument(s): “”

Today I tried to start a workflow using PowerShell and I got this annoying error: Exception calling "StartWorkflow" with "4" argument(s): "" At C:\Users\spsetup\Downloads\StartDocumentLocksWF.ps1:38 char:9 + $wf = $wfm.Startworkflow($item,$association, $data,$true) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : SPException   I knew that I was doing the right thing  as this … Continue reading SharePoint 2013 – Exception calling “StartWorkflow” with “4” argument(s): “”