Forum Discussion

Kiran135's avatar
Kiran135
Copper Contributor
May 13, 2024

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

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("**********");

  • olafhelper's avatar
    olafhelper
    Bronze Contributor
    To less on informations. Review SQL Server ErrorLog file for more details about the failed login.

Resources