When installing Quest Spotlight on Messaging the "Error -2147217900: failed to execute SQL string, error detail: CREATE DATABASE failed. Some file names listed could not be created. Check related errors." message comes up.
This is very common when multiple attempts to install the product using the same database server take place. Most likely, there are database files of the same name or database of same name already exists.
Delete database or database files of same name and attempt the installation once again.