Login failed for user domain\MachineName$ error in Session Task - sql-server

I have Informatica PowerCenter installed on my local machine and am able to successfully connect to the local SQL Server Database instance. However when I try to connect to a remote server I am getting 'Login failed for user domain\MachineName$'.
Here is the full Error -
Error connecting to database [
Windows authentication is used to access the Microsoft SQL Server database
Microsoft SQL Server Native Client 11.0: Login failed for user '<>\<>$'.
SQL State: 28000 Native Error: 18456
State: 1 Severity: 14
SQL Server Message: Login failed for user '<>\<>$'.
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [] and connection string [<>].].
Can someone throw light on how to get over this?

Related

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

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?
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]
server=Yourservername,portnumber
You can put the above in your connection string
Problem was due to Customer configured another Default SQL port to use on SQL Management.

Login failed for user '***' (.Net SqlClient Data Provider)

I am trying to connect in SQL Server Management Studio 2008 R2. I tried everything I could think of, but no matter what I get this error:
Login failed for user
Server type : Database Engine
Server Name : .\SQLEXPRESS
Authentication : Windows Authentication
I've already tried Server names like (local), ., USERNAME\SQLEXPRESS, USERNAME, and SQLEXPRESS, but none of them worked :(
Details:
Server Name: .\SQLEXPRESS
Error Number: 18456
Severity: 14
State: 1
My SQL Server(SQLEXPRESS) is running as well as SQL Server Browser also.

Cannot connect to Database Engine

I started an SQL Server instance(it is in running state), now I would like to connect to it in MS SQL Server Management Studio. I got following error.
TITLE: Connect to Database Engine
------------------------------
Cannot connect to KOVACSA.
Login failed for user 'myemail#outlook.hu'. (Microsoft SQL Server, Error: 18456)
I am using SQL Server authentication method, because I choosed Log on as This user option.

DBI - connect to MSSQL - unexpected login incorrect

I'm using DBI 1.624... and trying to connect SQL Server 2012. I wrote perl script to get data from db, and tested it on test server. It works fine. I repeated everything for other server and now I can not connect to db with error: Login Incorrect.
I created new login with SQL Authentication and I can login with it via SQL Server Management Studio, but when I try to connect via DBI:
DBI->connect('dbi:Sybase:server=SERVERNAME.domain.com:3180;database=master', 'user', 'pass')
I always get error:
DBI connect('server=SERVERNAME.domain.com:3180;database=master','user',...) failed: OpenCilent message:
LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (36)
Server SERVERNAME.domain.com:3180, database
Message String: Login incorrect.
User settings:
SQL Server authentication
Server Roles: public, sysadmin
Securables: Connect SQL
Status: Permission to connect to database engine: Grant / Login: Enabled
Server settings:
Connections: Allow remote connections to this server
My second server has all databases encrypted... So I use ODBC driver.

SQL server 2008 login issue

Hi I created a new login SQL server authentication in SQL server 2008, however I am unable to login with that user.
Getting an error like ,
TITLE: Connect to Server
Cannot connect to (local).
ADDITIONAL INFORMATION:
Login failed for user 'sa'. (Microsoft SQL Server, Error: 18456)
The error Login failed for user 'sa' means that connection to server was established, but server refused it under certain circumstances, such as:
Wrong password
Sql server uses only Windows Authentication (needs server restart)
In your Connection String you ask to connect to specified DB, which is not exists
sa login is Disabled or Denied to access sql engine
User Action
If you are trying to connect using SQL Server Authentication, verify
that SQL Server is configured in Mixed Authentication Mode.
If you are trying to connect using SQL Server Authentication, verify
that SQL Server login exists and that you have spelled it properly.
If you are trying to connect using Windows Authentication, verify
that you are properly logged into the correct domain.
If your error indicates state 1, contact your SQL Server
administrator.
From this article
Should this not help try troubleshooting this issue following these steps.

Resources