Problem

While installing CloudAnywhere with a SQL 2012 server, you see the following error:

Error 27553. Error connecting to database cloudmgr. Server: Microsoft SQL server .. The server principal “NT Authority\System” is not able to access the database “cloudmgr” under the current security context. (916).

problem SQL 2012

Cause

There is a change during the installation of SQL 2012 server. Now, the Local System account is no longer the admin of the SQL instance.
But the problem is that when you’re installing a MSI package, installation is done through the TrustedInstaller service which runs in the context of Local System.
This explains why the MSI package cannot execute the SQL creation script.

Resolution

Give the permission to the Local System Account to administer SQL.
Then relaunch the installation of CloudAnywhere.

SQL 2012 permissions