setting up linked server in SQL 2005

Results 1 to 23 of 23
  1. #1
    Member kc0gcm is offline
    MemberRank
    Oct 2004 Join Date
    70Posts

    setting up linked server in SQL 2005

    here goes,

    right click on "linked servers" click "new linked server"

    in the dialog box that pops up add the following info:

    Linked Server: GAMESERVER
    Provider: Microsoft OLE DB Provider for ODBC Drivers
    Product name: gameserver
    Provider String: DRIVER={SQL Server};SERVER=<servername>;UID=;PWD=;


    ok in the string above u need to replace <servername> with the name of ur SQL server. to do this u will need to know the name so right click on the very top line (3 lines above ur ACCOUNT database in the object explorer of server management studio) and the top line on the right will say name copy and paste that into where <servername> is in the string.. or you can put ur windows IP address and see if that will work (it didn't for me but it may for you)

    now click "security" on the left menu of Linked Server Properties

    select the option "Be made without using a security context"

    now click on "Server Options" now here is a list of the settings:


    Collation Compatible: true
    Data Access: true
    Rcp: true
    Rcp out: true
    Use Remote Collation: true
    Collation name: LEAVE BLANK
    connection timeout: 0
    Query Timeout: 0


    that should do it now just click ok and it will be created..

    this is how i set it up and it works for me if anyone else has done it different please post ur method..
    Last edited by kc0gcm; 28-11-08 at 05:22 PM. Reason: correction


  2. #2
    Member ~NaraShikamaru is offline
    MemberRank
    Sep 2008 Join Date
    N/ALocation
    87Posts

    Re: setting up linked server in SQL 2005

    Can you post the name of the icon and how to get there?

  3. #3
    Member kc0gcm is offline
    MemberRank
    Oct 2004 Join Date
    70Posts

    Re: setting up linked server in SQL 2005

    its 3 lines above ur ACCOUNT database in the object explorer of server management studio

  4. #4
    Tecktonic bapakayam is offline
    MemberRank
    Jan 2008 Join Date
    MalaysianLocation
    342Posts

    Re: setting up linked server in SQL 2005

    it is work?

  5. #5
    Member jdla1990 is offline
    MemberRank
    Nov 2008 Join Date
    Venezuela - MaracaiboLocation
    93Posts

    Re: setting up linked server in SQL 2005

    nice thnks man excelent aport!

  6. #6
    Apprentice BUDS4EVER is offline
    MemberRank
    Nov 2004 Join Date
    22Posts

    Re: setting up linked server in SQL 2005

    Whate make linked server sql 2000?

  7. #7
    Enthusiast hafifthzx is offline
    MemberRank
    Feb 2009 Join Date
    41Posts

    Re: setting up linked server in SQL 2005

    Woow..Cool Guide

  8. #8
    Account Upgraded | Title Enabled! nitro+ is offline
    MemberRank
    Dec 2008 Join Date
    United StatesLocation
    1,055Posts
    Quote Originally Posted by kc0gcm View Post
    here goes,

    right click on "linked servers" click "new linked server"

    in the dialog box that pops up add the following info:

    Linked Server: GAMESERVER
    Provider: Microsoft OLE DB Provider for ODBC Drivers
    Product name: gameserver
    Provider String: DRIVER={SQL Server};SERVER=<servername>;UID=;PWD=;


    ok in the string above u need to replace <servername> with the name of ur SQL server. to do this u will need to know the name so right click on the very top line (3 lines above ur ACCOUNT database in the object explorer of server management studio) and the top line on the right will say name copy and paste that into where <servername> is in the string.. or you can put ur windows IP address and see if that will work (it didn't for me but it may for you)

    now click "security" on the left menu of Linked Server Properties

    select the option "Be made without using a security context"

    now click on "Server Options" now here is a list of the settings:


    Collation Compatible: true
    Data Access: true
    Rcp: true
    Rcp out: true
    Use Remote Collation: true
    Collation name: LEAVE BLANK
    connection timeout: 0
    Query Timeout: 0


    that should do it now just click ok and it will be created..

    this is how i set it up and it works for me if anyone else has done it different please post ur method..
    it doesn't work for me it says server doesn't exists or acces denied.help me!!!!

    it doesn work for me it says server doesn't exists or acces denied plsss help me!!!
    tnx.
    Last edited by cypher; 11-06-09 at 08:57 PM. Reason: fixed dbl post

  9. #9
    Go go go! Cath22 is offline
    MemberRank
    Aug 2008 Join Date
    Cabal-ArenaLocation
    713Posts

    Re: setting up linked server in SQL 2005

    u need to replace <servername> , did you put that !!!

  10. #10
    Account Upgraded | Title Enabled! Fleetaks is offline
    MemberRank
    Jan 2007 Join Date
    GermanyLocation
    376Posts

    Re: setting up linked server in SQL 2005

    Thanks for the guide.

  11. #11
    Valued Member Djirko is offline
    MemberRank
    Jun 2004 Join Date
    LithuaniaLocation
    119Posts

    Re: setting up linked server in SQL 2005

    how about for sql 2000? where to find that linked server thing ?

  12. #12
    Enthusiast jacques is offline
    MemberRank
    Aug 2008 Join Date
    29Posts

    Re: setting up linked server in SQL 2005

    nice!!
    that's save me!

  13. #13
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    Re: setting up linked server in SQL 2005

    Ok it has been a long time since i set up a cabal server... I totally forgot how.

    I followed step by step and i get this:

    Code:
     
    TITLE: Microsoft SQL Server Management Studio Express
    ------------------------------
    
    "The linked server has been created but failed a connection test. Do you want to keep the linked server?"
    
    ------------------------------
    ADDITIONAL INFORMATION:
    
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)
    
    ------------------------------
    
    The OLE DB provider "MSDASQL" for linked server "GAMESERVER" reported an error. Authentication failed.
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "GAMESERVER".
    OLE DB provider "MSDASQL" for linked server "GAMESERVER" returned message "[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'.". (Microsoft SQL Server, Error: 7399)
    
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4035&EvtSrc=MSSQLServer&EvtID=7399&LinkId=20476
    
    ------------------------------
    BUTTONS:
    
    &Yes
    &No
    ------------------------------
    I changed the server name to KYLE\SQLEXPRESS which is the name and the user id was sa and then i put my pass.

  14. #14
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: setting up linked server in SQL 2005

    Quote Originally Posted by Thesnowman View Post
    I changed the server name to KYLE\SQLEXPRESS which is the name
    The server name should not be that if installed correctly, which yours isn't. You have done a default install of 2005 express which installs as a named instance instead of a default one (won't work) and you probably left remote connections disabled too.

    My guide:
    http://www.mediafire.com/download.php?mr5dlj8scbt

    Also a linked server is not needed if you modify 2 stored procedures.
    http://forum.ragezone.com/f460/how-t...server-576629/

  15. #15
    Member Deco_Boss is offline
    MemberRank
    May 2008 Join Date
    Enschede, NLLocation
    93Posts

    Re: setting up linked server in SQL 2005

    which means you're going to have to reinstall MSSQL 2005, don't forget to untick the 'hide options' upon reinstall, that's probably where you went wrong the last time ;)

  16. #16
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: setting up linked server in SQL 2005

    Quote Originally Posted by Deco_Boss View Post
    which means you're going to have to reinstall MSSQL 2005, don't forget to untick the 'hide options' upon reinstall, that's probably where you went wrong the last time ;)
    Congratulations on bumping a thread that's just shy of a year old...

  17. #17
    Valued Member zekmester is offline
    MemberRank
    Jan 2009 Join Date
    Sillent VillageLocation
    130Posts

    Re: setting up linked server in SQL 2005

    MSDASQL linked blabla error...

  18. #18
    xHTML/CSS/JS/Ruby LostSpirit is offline
    MemberRank
    Feb 2008 Join Date
    $ gem search -rLocation
    482Posts

    Re: setting up linked server in SQL 2005

    Quote Originally Posted by zekmester View Post
    MSDASQL linked blabla error...
    Please if you have any problem or doubt is clear...
    But it will not make spam topics/post's, even more tutorials.

    Regards.

  19. #19
    Apprentice aerolite is offline
    MemberRank
    Jan 2009 Join Date
    22Posts

    Re: setting up linked server in SQL 2005

    Do we have to change the {SQL Server} or no? and for the SERVER= is it suppose to be the IP of the server? or name of the server? thanks in advance!

  20. #20
    Enthusiast bernZ07 is offline
    MemberRank
    Jan 2009 Join Date
    34Posts

    Re: setting up linked server in SQL 2005

    how to solve this??
    Attached Thumbnails Attached Thumbnails untitled.bmp  

  21. #21
    The Cat in the Hat cypher is offline
    MemberRank
    Oct 2005 Join Date
    IrelandLocation
    5,073Posts

    Re: setting up linked server in SQL 2005

    Remove the linked server dependency.

  22. #22
    Enthusiast bernZ07 is offline
    MemberRank
    Jan 2009 Join Date
    34Posts

    Re: setting up linked server in SQL 2005

    Quote Originally Posted by cypher View Post
    Remove the linked server dependency.
    just delete it??

  23. #23
    ANTI emi is offline
    MemberRank
    Mar 2009 Join Date
    ZHLocation
    1,378Posts

    Re: setting up linked server in SQL 2005

    Quote Originally Posted by bernZ07 View Post
    just delete it??
    No.use this guide:http://forum.ragezone.com/f460/remov...server-576629/



Advertisement