|
Hello, Noticed below error message in application logs for job failure,in sql 2008 Login failed for user Mali/carlos Reason :Failed to open the explicitly specified database. [CLIENT:XXXXXX] is this somting authenticaiton error? please advise. rgds.
(comments are locked)
|
|
Generally it means that either the default database defined for the login does not exist or they do not have permissions to use their default dB.
(comments are locked)
|
|
If it's an explicitly specified database, check the connection string to see which database you're trying to connect to. Then make sure the login is mapped to a user in that database. It could well be that they had once been granted access using the guest user, but that this user has since been disabled. thank you Rob,how i can check connection string?...can you please let me know the steps...thanks
Oct 31 '11 at 05:36 AM
pits
Unfortunately the ConnectionString itself isn't available through a SQLTrace, but you should be able to see the ApplicationName, and hopefully work out which application it is. Then have a look at how that Application is connecting to see what you can do.
Oct 31 '11 at 05:43 AM
Rob Farley
thank you Rob,but I am not able to get you quote"but you should be able to see the ApplicationName, and hopefully work out which application it is. Then have a look at how that Application is connecting to see what you can do. "unquote.where and how i can do that...i have not done this in the past...
Nov 01 '11 at 05:25 AM
pits
it depends upon your development environment. e.g. For ASP.net that would be in web.config file. So please pass on as much detail as you can.
Nov 01 '11 at 06:24 AM
Usman Butt
(comments are locked)
|

