Groups | Blog | Home
all groups > sql server programming > april 2005 >

sql server programming : SQL SERVER LINK PROBLEM


Hari Prasad
4/2/2005 8:10:23 AM
Hi Savas,

Please look into the below article. Replace the server names with yours.

http://www.microsoft.com/India/msdn/articles/166.aspx

Thanks
Hari
SQL Server MVP

[quoted text, click to view]

Hari Prasad
4/2/2005 11:02:19 AM
Hi Savas,

1. Create an Alias using of the remote SQL server using Client Network
Utility providing the remore sql server IP address and Port Number.

2. In your local sql server , login in Query analyzer and use the Alias name
created to add the linked server.

USE master
GO
EXEC sp_addlinkedserver 'Alias Name created','SQL Server'
GO

3.Now provide the Remote servers login credentials to connect

sp_addlinkedsrvlogin 'Alias Name Created','false','sa','remote Server
Login','Remote server password'

4. use the command to verify the linked server sp_helplinkedsrvlogin


Thanks
Hari
SQL Server MVP

[quoted text, click to view]

Savas Ates
4/2/2005 4:56:19 PM
my sql server is not in local network.. it is in remote network... and its
ip , username and password is true...
coz i can access it from enterprise manager from my local sql server...

i looked at my permissions.. from users in my database ...

in my dbo public and db_owner permit checked... what is tthe problem ?





tried link to sql server db from access and i failed.... (What is my
fault.. I think It doenst ask me catalog -database name so it doesnt accept
my username and password..It cant find my username and password which
database has it ..)

i follewed these steps...

1.right click and link table
2.chooes types of data -->ODBC Databases
3.Machine(or Computer) Data Source and Click New from here..
4.Choose User Data Source and click NEXT
5.Chooes SQL Server and click NEXT
6.Click END
7.enter Server IP description and Name and click NEXT
8.Chooes Sql Server Authentication and Username and password of my catalog
database... and CLICK NEXT
9.SQL State='010000'
Sql Server Failure:10060
[microsoft [[ODBC SQL Server Driver][TCP/IP Sockets] ConnectionOpen
(Connect())
Connection failed
Sql State: '08001'
Sql Server Failure:17
[microsoft [[ODBC SQL Server Driver][TCP/IP Sockets] Sql server doesnt
exists or access denied..

how can i solve it or can link a sql server database



Savas Ates
4/2/2005 5:23:03 PM
hey its not about access... i wanna link remote sql server from local access
database...



"Savas Ates" <savas@indexinteractive.com>, haber iletisinde þunlarý
yazdý:uXkzCv4NFHA.1396@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button