Home > Archive > MS SQL Server ODBC > April 2005 > SQL SERVER LINK PROBLEM









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SQL SERVER LINK PROBLEM
Savas Ates

2005-04-02, 8:01 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




Hari Prasad

2005-04-02, 8:01 pm

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

"Savas Ates" < savas@indexinteracti
ve.com> wrote in message
news:uXkzCv4NFHA.1396@TK2MSFTNGP10.phx.gbl...
> 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

2005-04-02, 8:01 pm

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



"Savas Ates" < savas@indexinteracti
ve.com>, haber iletisinde şunları
yazdı:uXkzCv4NFHA.1396@TK2MSFTNGP10.phx.gbl...
> 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
>
>
>
>



Hari Prasad

2005-04-02, 8:01 pm

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_helplinkedsrvlogi
n


Thanks
Hari
SQL Server MVP

"Savas Ates" < savas@indexinteracti
ve.com> wrote in message
news:uIXx%2394NFHA.3076@tk2msftngp13.phx.gbl...
> hey its not about access... i wanna link remote sql server from local
> access database...
>
>
>
> "Savas Ates" < savas@indexinteracti
ve.com>, haber iletisinde şunları
> yazdı:uXkzCv4NFHA.1396@TK2MSFTNGP10.phx.gbl...
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com