error 18452, Login failed for user Reason: Not associated with a trusted SQL Server connection.

Hi all,
I have two servers running windows 2003 and both having sql server 2000.
I want to establish a linked server between all of them.
i created them . but now when accessing the data from those server the following error is being displayed
Server: Msg 18452, Level 14, State 1, Line 1
Login failed for user 'manoj'. Reason: Not associated with a trusted SQL Server connection.

i have enabled mixed mode authentication.even then its not displaying the intended result.

please respond is urgent.

thanks.

[609 byte] By [manojgarg] at [2008-3-1]
# 1
Hi Manoj,

Is your problem solved?

Regards

Asha at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
# 2
No Not yet.
Do you have any solution?
thanx
manojgarg at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
# 3
Change the authantication mode to Mix Mode from Windows Only mode for Sql Server.

  1. Enter SQL Enterprise Manager.

  2. Find your server name in the tree on the left.

  3. Right mouse click on the server name and select properties.

  4. Click the Security folder. You should now see the screen below with "Windows Only" set as the default authentication.

  5. Check SQL Server and Windows as the Authentication.

  6. Click OK.

  7. Click Yes to restart SQL.

I hope your problem will be solved.
Regards.
Kam Trivedi
TORONTO

    KTRIVEDI at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
    # 4

    I have same Problem.... with error message Displayed below, I tried above steps but no luck....

    icrosoft (R) SQLMaint Utility (Unicode), Version Logged on to SQL Server 'XXXXXX' as 'NT AUTHORITY\SYSTEM' (trusted) [Microsoft SQL-DMO (ODBC SQLState: 28000)] Error 18452: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    Starting maintenance plan 'DB Maintenance Plan4' on 11/2/2005 9:00:02 PM [1] Database YYYYYY: Transaction Log Backup...

    Destination: [D:\Log\YYYYYY\YYYYY_tlog_200511022100.TRN]

    ** Execution Time: 0 hrs, 0 mins, 1 secs **

    [Microsoft SQL-DMO (ODBC SQLState: 28000)] Error 18452: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    [2] Database YYYYYY: Delete Old Backup Files...

    1 file(s) deleted.

    Deleting old text reports... 1 file(s) deleted.

    End of maintenance plan 'DB Maintenance Plan4' on 11/2/2005 9:00:03 PM SQLMAINT.EXE Process Exit Code: 0 (Success)

    AaronNY at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
    # 5
    Hi

    I am using multimode authentification. but still i have the same error " Login failed for user". this is the only server that i am not able to get connected. i dont know why. i am using SQL server management studio 2005.Can someone help me?

    Yaachiru at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
    # 6
    GUI solution:
    On the server you run a job:
    1. Select linked server - properties.
    2. Select security page.
    3. Select 'Be made using the security context:'
    enter remote user and password below.
    --
    SQL solution:
    exec sp_addlinkedsrvlogin 'LinkedServer', false, NULL, <remote user>, <remote password>
    maxnis at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...
    # 7

    How did you create this db user 'manoj', is it mapping to a trusted NT login? This is security issue, please post your question to security forum

    http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&SiteID=1

    Good Luck!

    Ming.

    MINGLV at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Data Access...

    SQL Server

    Site Classified