VBA/DAO to link tables. DSNs are notoriously difficult to support and
debug. Examples of ODBC connection strings can be found at
database if you are using integrated security.
<harlandorado@spray.no> wrote:
>Hey,
>I'm trying to link a table in an Access 2000 DB to a table in an MS SQL
>Server 2000. As you might have guessed by now I'm not having any luck
>with this.
>
>This is what I've done:
>I've used a file-dsn, which logs on to the SQL Server DB using the
>logged on NT account. This account, which is used to log on to the
>website, has sufficient permissions to view the data in the linked
>table. I've also tested the dsn locally and it all works fine. Still,
>when I try to execute a query from the website, which uses data from the
>linked table, I get an error message saying this:
>
>Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
>[Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'SQL
>Server(local)' failed.
>
>Does anyone have a clue?
>
>______________
>the woim toins
>
>
>*** Sent via Developersdex
http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!