SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Problem with connecting 2 SQl 2005 Servers


Problem with connecting 2 SQl 2005 Servers

Author
Message
kraig.godden
kraig.godden
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 44
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
david.alcock
david.alcock
Mr or Mrs. 500
Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)

Group: General Forum Members
Points: 521 Visits: 1195
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'
kraig.godden
kraig.godden
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 44
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
david.alcock
david.alcock
Mr or Mrs. 500
Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)Mr or Mrs. 500 (521 reputation)

Group: General Forum Members
Points: 521 Visits: 1195
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'
kraig.godden
kraig.godden
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 44
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search