Project Server 2010 Publishing Error "ActiveCacheQueuedMessageExecutionError (12005)"

When trying to save a new project to the PWA the job fails with the following error message:

"failed and blocking correlation" with the details:
ActiveCacheQueuedMessageExecutionError (12005)
GeneralQueueJobFailed (26000) and fails at 40%

and in Project Pro 2010 the following error pops up:
"Job Failed
The following job failed to complete
Job Type: Save
Error ID: 12005(0x2EE5)
Error description: Queue failed to process the message.
The project could not be saved to the server. Please retry saving the project. If the problem persists, save the project as an MPP file and contact your system administrator."

Saving and publishing a project from the PWA is working, also the editing of existing projects.

Solution :

Enable common language runtime in the sql server (https://technet.microsoft.com/en-us/library/ee662108.aspx)

sp_configure 'clr enabled', 1

go

reconfigure

go