Unable to publish SharePoint 2013 Workflow
You are receiving the following error message when trying to publish a SharePoint 2013 Workflow: Former, if you are trying to activate the Site Feature "Workflows can use app permissions"…
If you are experiencing slow OLAP Cube Builds after, for example, a migration to new Hardware and OS – consider to check and change the following settings.
These have also been mentioned in a Post by Brian Smith.
In order to enable the SQL Server query optimizer hotfix you have to enable the trace flag 4199. (I am talking about SQL Server 2008 R2 SP3, Version: 10.50.6000.34)
To do so: