dbTalk Databases Forums  

Access and SQL

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Access and SQL in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave S.
 
Posts: n/a

Default Access and SQL - 03-08-2005 , 01:39 PM






I am looking for a way to link an old access database on a network drive to
a SQL server. Can someone post some examples of how they might do this? I
have read where I could import the tables from access and then setup the
linked tables in access but this seems backwards although I am sure that it
would work.



Reply With Quote
  #2  
Old   
Simon Worth
 
Posts: n/a

Default Re: Access and SQL - 03-08-2005 , 02:04 PM






EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote

Quote:
I am looking for a way to link an old access database on a network drive
to
a SQL server. Can someone post some examples of how they might do this? I
have read where I could import the tables from access and then setup the
linked tables in access but this seems backwards although I am sure that
it
would work.





Reply With Quote
  #3  
Old   
Dave S.
 
Posts: n/a

Default Re: Access and SQL - 03-08-2005 , 02:19 PM



Thanks! This did indeed create the server, but when trying to access the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a network drive
to
a SQL server. Can someone post some examples of how they might do this?
I
have read where I could import the tables from access and then setup the
linked tables in access but this seems backwards although I am sure that
it
would work.







Reply With Quote
  #4  
Old   
Simon Worth
 
Posts: n/a

Default Re: Access and SQL - 03-08-2005 , 02:39 PM



Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote

Quote:
Thanks! This did indeed create the server, but when trying to access the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a network
drive
to
a SQL server. Can someone post some examples of how they might do
this?
I
have read where I could import the tables from access and then setup
the
linked tables in access but this seems backwards although I am sure
that
it
would work.









Reply With Quote
  #5  
Old   
Dave S.
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 10:42 AM



Forgive my ignorance here, but I have no idea why authentication is even a
problem since I am only trying to look at the tables from enterprise manager
as the administrator, the network drive can be seen as this same user, and
there is no security at all on the access database I am linked to. I have
several linked SQL servers and have zero problems with authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a network
drive
to
a SQL server. Can someone post some examples of how they might do
this?
I
have read where I could import the tables from access and then setup
the
linked tables in access but this seems backwards although I am sure
that
it
would work.











Reply With Quote
  #6  
Old   
Simon Worth
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 10:52 AM



I'm not sure why you are encountering the error. I linked an access
database to my server just to try it, and I didn't have to set up any
special permissions for it. So I'm not sure.

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote

Quote:
Forgive my ignorance here, but I have no idea why authentication is even a
problem since I am only trying to look at the tables from enterprise
manager
as the administrator, the network drive can be seen as this same user, and
there is no security at all on the access database I am linked to. I have
several linked SQL servers and have zero problems with authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:e7xmk7BJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a network
drive
to
a SQL server. Can someone post some examples of how they might do
this?
I
have read where I could import the tables from access and then
setup
the
linked tables in access but this seems backwards although I am
sure
that
it
would work.













Reply With Quote
  #7  
Old   
Dave S.
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 10:59 AM



Maybe because the access db is on a network drive? Who knows....


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
I'm not sure why you are encountering the error. I linked an access
database to my server just to try it, and I didn't have to set up any
special permissions for it. So I'm not sure.

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23Yq%23DcMJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Forgive my ignorance here, but I have no idea why authentication is even
a
problem since I am only trying to look at the tables from enterprise
manager
as the administrator, the network drive can be seen as this same user,
and
there is no security at all on the access database I am linked to. I
have
several linked SQL servers and have zero problems with authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:e7xmk7BJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to
access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a
network
drive
to
a SQL server. Can someone post some examples of how they might
do
this?
I
have read where I could import the tables from access and then
setup
the
linked tables in access but this seems backwards although I am
sure
that
it
would work.















Reply With Quote
  #8  
Old   
Simon Worth
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 11:06 AM



I tried it on an access db on the network and didn't get the error.
What are the settings for the linked server in the security tab?

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote

Quote:
Maybe because the access db is on a network drive? Who knows....


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:OkbJ3hMJFHA.1280 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm not sure why you are encountering the error. I linked an access
database to my server just to try it, and I didn't have to set up any
special permissions for it. So I'm not sure.

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23Yq%23DcMJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Forgive my ignorance here, but I have no idea why authentication is
even
a
problem since I am only trying to look at the tables from enterprise
manager
as the administrator, the network drive can be seen as this same user,
and
there is no security at all on the access database I am linked to. I
have
several linked SQL servers and have zero problems with authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:e7xmk7BJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to
access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a
network
drive
to
a SQL server. Can someone post some examples of how they might
do
this?
I
have read where I could import the tables from access and then
setup
the
linked tables in access but this seems backwards although I am
sure
that
it
would work.

















Reply With Quote
  #9  
Old   
Dave S.
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 11:16 AM



Ok, if I use enterprise mgr on the SQL server itself I can see the tables,
but not from a remote computer which I am sure will effect my ability to
query it as well....

Right now its clear of everything although I have tried several combos. How
is yours set?


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote

Quote:
I tried it on an access db on the network and didn't get the error.
What are the settings for the linked server in the security tab?

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:OjvJIlMJFHA.2956 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Maybe because the access db is on a network drive? Who knows....


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:OkbJ3hMJFHA.1280 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm not sure why you are encountering the error. I linked an access
database to my server just to try it, and I didn't have to set up any
special permissions for it. So I'm not sure.

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23Yq%23DcMJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Forgive my ignorance here, but I have no idea why authentication is
even
a
problem since I am only trying to look at the tables from enterprise
manager
as the administrator, the network drive can be seen as this same
user,
and
there is no security at all on the access database I am linked to. I
have
several linked SQL servers and have zero problems with
authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:e7xmk7BJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to
access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in
message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database
name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a
network
drive
to
a SQL server. Can someone post some examples of how they
might
do
this?
I
have read where I could import the tables from access and
then
setup
the
linked tables in access but this seems backwards although I
am
sure
that
it
would work.



















Reply With Quote
  #10  
Old   
Simon Worth
 
Posts: n/a

Default Re: Access and SQL - 03-09-2005 , 11:25 AM



Mines set up with the defaults.
No "Local server login to remote server login mappings"
and "Be made using the login's current security context" is set for not
defined logins

if you try to query it from QA using syntax
select * from [Linked Server name]...[Table Name] do you get any results?

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote

Quote:
Ok, if I use enterprise mgr on the SQL server itself I can see the tables,
but not from a remote computer which I am sure will effect my ability to
query it as well....

Right now its clear of everything although I have tried several combos.
How
is yours set?


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:%23IqljpMJFHA.4060 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
I tried it on an access db on the network and didn't get the error.
What are the settings for the linked server in the security tab?

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:OjvJIlMJFHA.2956 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Maybe because the access db is on a network drive? Who knows....


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:OkbJ3hMJFHA.1280 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm not sure why you are encountering the error. I linked an access
database to my server just to try it, and I didn't have to set up
any
special permissions for it. So I'm not sure.

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23Yq%23DcMJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Forgive my ignorance here, but I have no idea why authentication
is
even
a
problem since I am only trying to look at the tables from
enterprise
manager
as the administrator, the network drive can be seen as this same
user,
and
there is no security at all on the access database I am linked to.
I
have
several linked SQL servers and have zero problems with
authentication.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in message
news:e7xmk7BJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Take a look at sp_addlinkedsrvlogin in BOL

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:%23fFiZwBJFHA.3928 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks! This did indeed create the server, but when trying to
access
the
tables I get an authentication error.


"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote in
message
news:%23EZkHoBJFHA.3332 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
EXEC sp_addlinkedserver 'LinedServerName', 'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0', 'Full path and access database
name'

--
Simon Worth


"Dave S." <davidstedman (AT) colliergov (DOT) net> wrote in message
news:enlT8ZBJFHA.572 (AT) tk2msftngp13 (DOT) phx.gbl...
I am looking for a way to link an old access database on a
network
drive
to
a SQL server. Can someone post some examples of how they
might
do
this?
I
have read where I could import the tables from access and
then
setup
the
linked tables in access but this seems backwards although
I
am
sure
that
it
would work.





















Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.