Login failed for user '{username}'. I know the username and password are correct, because I have used them to access the database previously in Microsoft SQL Server Management Studio. I have read online about allowing .