Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Jim77
Constraint Violating Yak Guru
440 Posts |
Posted - 2006-08-16 : 14:22:03
|
Hi there guysI have set up replication from one server to the next in sql 2000, I am trying to add a dts command onto the distributing servers exsisting dts task with no joy.I cannot create a linked server in QA because it says the server already exsists but when I try to access the data remotely it comes up with a error 'data access is not configured' So I set my server options to the followingexec sp_serveroption 'abc', 'data access', 'true'and restarted my server aswell as checked the connection properties of the server I want to link to to accept remote connections.But I still cant query my remote server.Boo Hoo. |
|
maranbe
Starting Member
28 Posts |
Posted - 2006-08-17 : 02:58:16
|
hi,you may need to check security setup on the linked server properties ...Kindest regard,SQL Server 2K (Clustered)/2K5_________________________if ain't broke, don't fix it... |
 |
|
Jim77
Constraint Violating Yak Guru
440 Posts |
Posted - 2006-08-17 : 09:57:19
|
If the server is already there, you shouldn't need to drop and re-add it. What happens when you try to make a remote call?You may need to add a linked server login if it hasn't already been done. Read up on it in BOL. Here is some sample code:--add login used for linked server connectivitysp_addlinkedsrvlogin @rmtsrvname = '<OtherServer>' ,@useself = 'false'--,@locallogin = 'locallogin',@rmtuser = '<OtherServerLogin>',@rmtpassword = '<pw>'--add login to remote server (this would be run on remote server)sp_addlogin '<LoginName>', '<pw>'sp_addsrvrolemember '<LoginName>', 'sysadmin'sp_defaultdb '<LoginName>', 'master'Be One with the OptimizerTGThanks for the advice maranbe the above posted by TG was the solution I was looking for cheers ....:>) |
 |
|
|
|
|
|
|