Unable to run sql on my IBM Db2 workspace - sql

Error message
[jcc][t4][2013][11249][4.26.14] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000
I have tried everything suggested by the IBM chatbot but I did not get a solution. Please help.

This means it failed due to disabled or expired user id or wrong password or not a valid password.
Please contact your DB administrator

Related

Error: 18456, Severity: 14, State: 38 Reason: Failed to open the explicitly specified database 'ReportServer'. [CLIENT: <local machine>]

I'm facing a situation which every 10 seconds an error log is recorded with the following msg:
2018-07-25 09:07:09.59 Logon Error: 18456, Severity: 14, State: 38.
2018-07-25 09:07:09.59 Logon Login failed for user 'svc_sql'. Reason: Failed to open the explicitly specified database 'ReportServer'. [CLIENT: <local machine>]
In my instance I don't have a 'ReportServer' database. I know that in the past the server was migrated to a new machine and I reckon the 'ReportServer' database was created with a new name in the new server. I really don't know how the migration was done.
I've activated the SQL_Profiler with all audit options and I could see that this user also executes a procedure sometimes.
I've checked the default database for this user and it's Master.
Any ideas how can I fix this issue? My error log is flooding with this message.
Thanks a lot.
Rod
I've checked the default database for this user and it's Master.
The error doesn't tell you about default database but about explicitly specified database, that is different, it's the database that is mentioned in connection string under Initial Catalog or Database.
Do you see what application tries to open this database? The problem is in that application, it uses old connection string. If it's SSMS, it's simple, it's in the Options of connection dialog, but if it's another application, the connection string can be written in the ini file or hardcoded.
I don't know if I try to run DBCC CHECKDB master will solve this.
Of course it cannot solve this. This has nothing to do with database integrity. It's your client that uses wrong connection string.
Any ideas how can I fix this issue? My error log is flooding with this
message.
If you just want to save your errorlog from these messages just turn off failed logins audit:
Or you should find this application by its name or host or client address.
Or you can temporarily disable this login and see who will call you saying he cannot login anymore, or, if it's your local machine, some of your applications will fail, this way you'll find it.
I had the same error and doing the following resolved the error for me:
From within the SQL Server Management Studio
Security
Logins
Right Click the user ID that was failing login
Server Roles
Make sure all the checkboxes are checked. Right clicked Security and refresh.

Fail to login with this user "xxx" SQL

I have an SQL it shows me an error message.
I got error while log in to SQL with USER sa & Password.
Also I have reset the password from the Logins security.
I have checked lot of links but unable to log in.
How can I rectify this issue?
I have used following links-
itproguru, stackoverflow

SQL IIS application login fails for user

I am scratching my head here and I need a hand with this. Please save my sanity!
1
I can log into SSMS with the username and it works.
I can open the ODBC/System DSN and test the connection using the same username and it works.
3
I have the vtimecard.ini configured with the username and password IDENTICAL to the login for SQL and that used for the 2 logins that work...
[ODBC]
DSN=
Driver=SQL Server
Server=MLAERP01\VTIMECARD
Database=vTimeCard
UID=vtc2
PWD=
BUT once I try to access the website, it fails.
Details: Global database error Open (global): 'Login failed for user 'vtc2'.' (D=, D=SQL Server, S=MLAERP01\VTIMECARD, D=vTimeCard, U=vtc2)
and when I check the SQL server log it gives:
Login failed for user 'vtc2'. Reason: Password did not match that for the login provided. [CLIENT: ] Error: 18456, Severity: 14, State: 8
Please direct me what I need to look at with this. I am not that versed in SQL and webApps. Any help is good help!

error when publishing topology for lync server

I'm getting an error when I try to publish topology for Lync server.
Error: An error occurred: "Microsoft.Rtc.Common.Data.SqlConnectionException" "Cannot open database "xds" requested by the login. The login failed.
Login failed for user 'IVR\Administrator'."
What should I do ?
Thanks.
Is 'IVR\Administrator' in the Domain Admins and RTCUniversalServerAdmins groups?
Here are some articles that may help:
http://technet.microsoft.com/en-us/library/gg412915.aspx
http://social.technet.microsoft.com/Forums/en-US/ocsinterop/thread/2aac2342-f785-433b-b900-4c72b754c64c/
http://technet.microsoft.com/en-us/library/gg195733.aspx

Connection error when configuring Microsoft velocity

I am trying to install Microsoft velocity on a machine that will use a sql database for it's configuration store.
I have entered the connection string correctly but when I test the connection it fails, here are the logs:
2009-01-23 11:54:30.03 Logon Error: 18456, Severity: 14, State: 11.
2009-01-23 11:54:30.03 Logon Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: xxx.xx.xx.xxx]
Which implies that the login is valid but the connection failed along the way, can anybody help?
Thank you in advance
'NT AUTHORITY\ANONYMOUS LOGON' would indicate that the account you used to login was not identified in SQL Server. You need to make sure that the account is listed in the security and has rights to the database you want to connect.