ILMT Lite 9.2.44, configuration error

When performing initial configuration on Windows (disconnected scenario, version 9.2.44), on the step about the creation of the License Metric Tool database, we enter the host name of the database server and select Windows Authentication. The Windows user that we specified as the service owner during the installation of License Metric Tool is an Active Directory user that is also registered in the SQL Server Management Studio.

When we try to continue, we receive the message “Connection: the user does not have permission to create a database. Either grant CREATE ANY DATABASE or have your database administrator create the database.”

If we review the user profile configuration one the SQL SMS it has the Permissions and Roles indicated in the manual:

sysadmin role in MS SQL Server
db_owner role in MS SQL Server
default database schema set to dbo
default language set to "English" (not a variety of English)

Also as the ILMT service is local, the LogOn is assigned as “Local System account”.

Do anyone know what is the problem and/or what cofiguration is missing that it’s not indicated in the manual?

We appreciate any support you can provide on this.

I'm afraid that for ILMT Lite, the official support has to come from IBM, not from HCLBigfix; but hopefully we can avoid having to open a Support incident at all. The detail you've put into this post is helpful in that regard, so thanks very much for the detail!

I'm a bit confused where you say you identified a Windows user to own the service and granted that user SQL rights, but the ILMT Service is set to log on with the LocalSystem account.

When using Windows Credentials to connect to SQL Server, ideally you would use the same credentials to log on and execute the installer, as well as configuring the ILMT Service to "Log On As" that same Windows account.

I would try, from the machine that will run ILMT, to log on as the same AD Account that you plane to use for SQL, and run the ILMT install from that account. You might also check basic SQL connectivity by running the SQL Management Studio from that account on the ILMT host.

One other thing to check when using service accounts (but I think you've already made it past this issue) is that in addition to the SQL permissions, the account must also have "Access this computer from the network" User Right assigned. By default Domain Users has that permission, but sometimes I've seen service accounts removed from Domain Users to remove default rights.

Please post back and let us know if any of this helps!

For the Service to run as Local System Account, try granting db_owner/Sysadmin role to NT_AUTHORITY\SYSTEM and try Windows Authentication to create the database and see if this works