If you are using SQL Server version 2012 or higher and Windows Authentication, you will see error 50138 if you do not complete final security steps detailed here.

The Noah Server Service log will show the following:ERROR: The server principal “NT AUTHORITY\SYSTEM” is not able to access the database “NOAHDatabaseCore” under the current security context.