Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Problem with connecting 2 SQl 2005 Servers Expand / Collapse
Author
Message
Posted Tuesday, February 26, 2013 7:31 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, February 28, 2013 3:46 AM
Points: 17, 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
Post #1424078
Posted Tuesday, February 26, 2013 8:55 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, April 07, 2014 3:56 AM
Points: 200, Visits: 778
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'
Post #1424125
Posted Wednesday, February 27, 2013 2:35 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, February 28, 2013 3:46 AM
Points: 17, 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
Post #1424411
Posted Wednesday, February 27, 2013 3:46 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, April 07, 2014 3:56 AM
Points: 200, Visits: 778
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'
Post #1424447
Posted Wednesday, February 27, 2013 3:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, February 28, 2013 3:46 AM
Points: 17, 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
Post #1424448
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse