Problem with connecting 2 SQl 2005 Servers

  • So when you are on chatsql, you go to replication, local subscriptions...new subscription wizard and put in the servsql in the connect box, thats where the error occurs? And servsql has never been renamed and the credentials are OK.

    Did you try creating a linked server connection on chatsql to servsql, and then perhaps try to query it afterwards?

    'Only he who wanders finds new paths'

  • hi David

    sorry about the previous post don't know why they have duplicated,

    yes i go to replication, local subcription, new subscription etc and this is were i get the error

    the mad thing is i can view the remote server etc in the server studio but can't create the replication

    i now get

    SQL server replication requires the actual server name to make connection to the server.

    Connections through a server alias, ip address or any other alternate name are not supported

    Specify the actual server names, ServSQL (replication utilities )

    I have updated the host file with the ip servsql.domain.local

    sorry david i havent tried the linked server connection yet if i am honest i dont know how?

    http://www.go-train.co.uk

  • Ah right, no worries.

    If you go under Server Objects you will see the option for the new linked server, basically set it up with the sql credentials you are using and that will tell us if the server can see the other in the SQL sense.

    'Only he who wanders finds new paths'

  • hi david

    right i have right clicked on linked servers and have click on new

    when the new linked server dialog box appears

    what do i put in the Linked server: as if i put in the server and it throughs up an error about server already exists

    server type:

    is it sql server or other data source

    sorry if these are stupid questions

    http://www.go-train.co.uk

  • OK, thats fine, in that case can you right click and test connection on it?

    'Only he who wanders finds new paths'

  • ok sorry i am alittle confused am i putting in the remote server or the local server name for the LInk server:

    also am i putting in the ip or server name

    and am i just selecting to connect by sql and not another datasource

    also when i try either local or remote server name i get

    the test connection to the linked server failed

    an exception occured while executing a transact - sql statement or batch

    http://www.go-train.co.uk

  • I would check if server 2 (the subscriber) has visibility of server 1 that way.

    Looks like there's something inbetween that just hasnt worked, its not replication specific per say but other than that I'm not too sure I am afraid.

    'Only he who wanders finds new paths'

  • Hi David

    well i seemed to have progressed on it seems like it was a issue with alias on the local and remote sql but i seem to be having problems with permissions now.

    I have setup the subsciption etc on the remote sql which was fine but I notice that it wasnt syncing the tables so i clicked on view sync status and it displays

    the process could not connect to the distributer

    the agent could not be started

    when i google this message it seems like it is a permission problem but know on the servsql it will only run the server agent on local system and not on the domain admin account which is strange as it was working fine.

    i have looked at the properties of the distrubuter on the subcription and made sure that the snapshot folder is unc etc and tried changing the connection permissions to the sql sa username and the domain user account but still nothing

    http://www.go-train.co.uk

  • You do need permissions to the folders, also, are you using the full UNC path for the folders?

    'Only he who wanders finds new paths'

  • yes i am using full unc path but how do you setup authentification as they are on two different domains

    I can browse the folder after i input

    domain\username

    password

    http://www.go-train.co.uk

Viewing 10 posts - 16 through 24 (of 24 total)

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