While installing Websitepanel on Windows server, if you are getting the following error and the installation gets failed:

Error -2147467259 failed to create sql database
Please refer to the following steps to resolve the issue:

1. While installation of Websitepanel, please make sure to enter the appropriate details in the Database settings in Setup Wizard. Test the connection.
2. If you are getting the SQL connection Good then please make sure that the remote connections for the SQL is enabled from the SQL server configuration manager.

Hope this will help you to resolve the issue!