Troubleshooting SQL Server login issues
SQL Server login issues mainly have to do with the security authentication mode that you use on your server. For example, if the Login failed for <user name>. Reason: Not associated with a trusted SQL Server connection message is displayed when you try to log in, you need to change your security authentication mode to SQL Server Authentication.