SQL SERVER LINK PROBLEM

S

Savas Ates

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
 
S

Savas Ates

hey its not about access... i wanna link remote sql server from local access
database...
 
H

Hari Prasad

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

Savas Ates said:
hey its not about access... i wanna link remote sql server from local
access database...



haber iletisinde þunlarý said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top