I have configured SharePoint Workflow Manager for an on-premise SharePoint 2019 farm with no problems. However when trying to create a SharePoint 2013 workflow, the workflow can be saved but not published. The error is:
SharePoint 2013 Workflow errors were found when compiling the workflow. The workflow files were saved but cannot be run. System.Security.Cryptography.CryptographicException: Access is denied.
Request (POST:http://somesite.someplace.org/_vti_bin/client.svc/ProcessQuery)
Workflow Manager is running under an account in the local Administrators group, and I added a policy on the web application giving it full control to see if that would correct the error. There are no issues in IIS -- I can browse to the workflow service, the workflow farm status is good, proxy good, etc..
What else can I check?
Please find ULS below... Thanks in advance!
ULS:
System.Security.Cryptography.CryptographicException: Access is denied.
at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
at System.Security.Cryptography.Utils._GenerateKey(SafeProvHandle hProv, Int32 algid, CspProviderFlags flags, Int32 keySize, SafeKeyHandle& hKey)
at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
at Microsoft.SharePoint.SPSecurityContext.GetRsaUseKeyAlgorithm()
at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo, SPRequestSecurityTokenProperties properties)
at Microsoft.SharePoint.SPSecurityContext.<>c__DisplayClassc.<GetProcessSecurityTokenForServiceContext>b__b()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurityContext.GetProcessSecurityTokenForServiceContext()
at Microsoft.SharePoint.SPChannelFactoryOperations.CreateChannelAsProcessTChannel
at Microsoft.SharePoint.Administration.SPServiceApplicationProxyBase1.GetChannel(Boolean requireDelegation, Uri address) at Microsoft.SharePoint.Administration.SPServiceApplicationProxyBase1.ExecuteOnChannel(Boolean requireDelegation, Action`1 codeBlock)
at Microsoft.SharePoint.AppManagement.AppManagementServiceApplicationProxy.GetScaleOutDatabaseMap()
at Microsoft.SharePoint.SPScaleOutDatabaseMap.GetMapCacheEntriesForProxy(ISPScaleOutDatabaseMapProvider mapProvider, Guid forceRefreshVersion)
at Microsoft.SharePoint.SPScaleOutDatabaseMap.GetMapEntry(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvider, SPSqlCommand command, Byte[] compositeKey)
at Microsoft.SharePoint.AppManagement.AppManagementServiceApplicationProxy.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvider, SPSqlCommand command, Byte[] compositeKey)
at Microsoft.SharePoint.AppManagement.AppManagementServiceApplicationProxy.GetApp(String appId)
at Microsoft.SharePoint.AppRegistration.GetAppInfo(String appId, Boolean throwIfNotExists)
at Microsoft.SharePoint.SPAppPrincipalManager.LookupInInternalDirectory(SPAppPrincipalIdentityProvider identityProvider, String nameIdentifier)
at Microsoft.SharePoint.SPAppPrincipalManager.LookupAppPrincipalInternal(SPAppPrincipalIdentityProvider identityProvider, SPAppPrincipalName appPrincipalName, Boolean onlyInExternalDirectory)
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.<>c__DisplayClassc.<LookupAppPrincipal>b__9(SPWeb elevatedWeb)
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.LookupAppPrincipal(SPWeb web, String appId) StackTrace:
at Microsoft.Office.Server.Native.dll: (sig=163a6647-82b1-468c-b17b-8e03ae2ca42c|2|Microsoft.Office.Server.Native.pdb, offset=1065B)
at Microsoft.Office.Server.Native.dll: (offset=2017F)