|
|
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
Кто нибудь знает как подключится к базе Aceess, защищенной с помощью системной базы и пароля? Поискал я в форуме, но ничего вразумительного не нашел.. Проблем с подключением незапароленной базы нету... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.11.2002, 16:26:08 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
В BOL по ключевому слову OLE DB Provider for Jet. PS:Скорее всего вам необходимо прописать в реестре сервера путь к Secured.mdw. Лучше положить этот файл на самом сервере. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.11.2002, 17:28:39 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
The Access database is secured and the HKEY_LOCAL_MACHINE\Software\Microsoft\Jet\4.0\SystemDB registry key is not pointing to the correct Access workgroup file. Secured Access databases have a corresponding workgroup file, including the full path, which should be indicated by the above registry key. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.11.2002, 17:33:40 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
С системной бд все более или менее ясно, но вот как передать database password? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.11.2002, 17:56:45 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
но вот как передать database password? Не понимаю, что значит "передавать", но может быть речь идет о системной процедуре sp_addlinkedsrvlogin ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.11.2002, 20:50:37 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. Попробуй когда Server приликовываешь, как нибудь включить "Jet OLEDB:Database Password=MyDbPassword". Может так прокатит Код: plaintext 1. Сам не пробывал. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.11.2002, 12:03:26 |
|
||
|
И снова о linked Server -))
|
|||
|---|---|---|---|
|
#18+
OLE DB Provider for Jet The Microsoft® OLE DB Provider for Jet provides an OLE DB interface to Microsoft Access databases, and allows Microsoft SQL Server™ 2000 distributed queries to query Access databases. To create a linked server to access an Access database Execute sp_addlinkedserver to create the linked server, specifying Microsoft.Jet.OLEDB.4.0 as provider_name, and the full path name of the Access .mdb database file as data_source. The .mdb database file must reside on the server. data_source is evaluated on the server, not the client, and the path must be valid on the server. For example, to create a linked server named Nwind that operates against the Access database named Nwind.mdb in the C:\Mydata directory, execute: sp_addlinkedserver 'Nwind', 'Access 97', 'Microsoft.Jet.OLEDB.4.0', 'c:\mydata\Nwind.mdb' To access an unsecured Access database, SQL Server logins attempting to access an Access database should have a login mapping defined to the username Admin with no password. This example enables access for the local user Joe to the linked server named Nwind. sp_addlinkedsrvlogin 'Nwind', false, 'Joe', 'Admin', NULL To access a secured Access database, configure the registry (using the Registry Editor) to use the correct Workgroup Information file used by Access. Use the Registry Editor to add the full path name of the Workgroup Information file used by Access to this registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\SystemDB After the registry entry is configured, use sp_addlinkedsrvlogin to create login mappings from local logins to Access logins: sp_addlinkedsrvlogin 'Nwind', false, 'Joe', 'AccessUser', 'AccessPwd' Access databases do not have catalog and schema names. Therefore, tables in an Access-based linked server can be referenced in distributed queries using a four-part name of the form linked_server...table_name. This example retrieves all rows from the Employees table in the linked server named Nwind. SELECT * FROM Nwind...Employees ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.11.2002, 14:27:30 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=32066674&tid=1818888]: |
0ms |
get settings: |
5ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
43ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 196ms |
| total: | 299ms |

| 0 / 0 |
