Linked Server ...behaving weird

  • Has anyone seen this error before? I'm getting it when I try to use or create link server. Here is some background. Today I moved our db to a new server. I installed SQL and moved the data and log folder from old server to new server.

    Everything works perfect except the link servers.

    TITLE: Microsoft SQL Server Management Studio

    ------------------------------

    Create failed for LinkedServerLogin ''. (SqlManagerUI)

    For help, click: http://go.microsoft.com/fwlink?ProdName ... nkId=20476

    ------------------------------

    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • If you are trying to authenticate with user that was created on the original SQL server you may to the "fixup" the login on the new server.

    See "sp_change_users_login" within BOL.

    i.e. EXEC sp_change_users_login 'Auto_Fix', 'UserName', NULL, 'password'

  • yes

    i have done that already

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • Thanks

    i got the solution

    i applied below written script

    ALTER SERVICE MASTER KEY FORCE REGENERATE

    and after i could make linked server

    Anyways ......thanks

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply