Login failed for user ''. ClientConnectionId:dad1cf40-fedd-4779-a402-d018ddd61d80

Copper Contributor

I am passing user in connection details like this but getting Login failed for user ''. ClientConnectionId:dad1cf40-fedd-4779-a402-d018ddd61d80

 

 

SQLServerDataSource ds = new SQLServerDataSource();

ds.setServerName(""); // Replace with your server name

ds.setDatabaseName(""); // Replace with your database

ds.setUser("**********");

1 Reply
To less on informations. Review SQL Server ErrorLog file for more details about the failed login.