Microsoft ODBC Driver 13 for SQL Server : Login failed for user 'sa'

99封情书 提交于 2019-12-10 17:28:30

问题


Im installing the MDM of Informatica. MDM 10.2 - Jboss 6.4 EAP - SQL Server 11 - Windows Server 2008 R2.

During the creation of the schema 'sip_ant.bat create_bpm' i got this error

Microsoft ODBC Driver 13 for SQL Server : Login failed for user 'sa'. (Same eeror with another user)

I already tried to use the Auth Mixed Mode and restarted the instance of the DB.

Error received is

D:\informatica\database\bin\common.xml:248: The following error occurred while executing this line:
D:\informatica\database\bin\mssql\database.xml:1214: Launched command return error code 1.

And that's the line of database.xml:1214 that refers:

 collation_name="${activevos.collation}" param2=""${dbpath_short}"" param1="${activevos.password}">

Im able to login via SQLCMD on CMD with user 'sa' and other users.

MDM and SQL Server are on different Machine.

Any suggestion?


回答1:


By default SQL Server will track failed logins and register it in the server log along with the reason. So check out your errorlog and look for errors 18456.

You can read the log by using SQL Server Management Studio by going to server, Management, SQL Server Logs, Current. Or any other way you prefer.

You'll find something like this:

2018-02-27 13:51:26.120 Logon        Error: 18456, Severity: 14, State: 5.
2018-02-27 13:51:26.120 Logon        Login failed for user 'fasd'. Reason: Could not find a login matching the name provided. [CLIENT: 10.80.62.89]



回答2:


Problem was due to Customer configured another Default SQL port to use on SQL Management.



来源:https://stackoverflow.com/questions/48990621/microsoft-odbc-driver-13-for-sql-server-login-failed-for-user-sa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!