![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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. |
#6
| |||
| |||
|
|
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. |
#7
| |||
| |||
|
|
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. |
#8
| |||
| |||
|
|
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. |
#9
| |||
| |||
|
|
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. |
#10
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |