Re: Error accessing MS Access database with Linked Tables on files

Tech-Archive recommends: Fix windows errors by optimizing your registry



The other method of connecting to this datasource would be to create a
system odbc connection.

You can do this through the Data sources (odbc) tool.

To get to this you go to the control panel on the server, then to the
administrative tools, then the datasources wizard is located within.

Once you have setup your odbc connection you just modify the connection
string for the database in your web config.

This is also called a DSN for the connection string see
http://www.connectionstrings.com

Also within access if you link tables you should use this method, this
way it doesn't matter if the database resides locally, or on a server,
your always pointed at the database correctly.

One other thing that this will allow you to acheive is that when you
set up the DSN you can instantly test it, so if you don't have enough
permissions / can't see the database then you see immediatly instead of
having to write code to check for permissions based errors etc.

.



Relevant Pages

  • Re: Microsoft ODBC Drive Manager: Data Source Name not found and No Default Driver Specified
    ... Each entry is effectively a nickname for the database ... The connection will fail. ... a system ODBC connection created not within Excel, ...
    (microsoft.public.excel)
  • Re: Microsoft ODBC Drive Manager: Data Source Name not found and No Default Driver Specified
    ... Each entry is effectively a nickname for the database instance. ... The connection will fail. ... a system ODBC connection created not within Excel, ...
    (microsoft.public.excel)
  • Re: Authentication failed
    ... > Correction to initial message error -2147217843 Authentication failed has ... > the connection is reestablished. ... >> reestablishing the data source when the datasource is moved. ... >> ' If the database can't be found, open the common dialog control to ...
    (microsoft.public.vb.general.discussion)
  • Re: ADO Data Control = changing ConnectionString at runtime
    ... the ADO control to my master copy of the database on my development ... function of that member to change the connection string of the ADO control ... and thus before I have had a chance to change the connection string. ... DataSource control/object. ...
    (microsoft.public.data.ado)
  • Re: ODBC to SQL Server Express?
    ... >Server connection, in both the system's ODBC connection manager and the ... >>>Can I create an ODBC connection to SQL Server Express? ... >>>Server Express and Visual Web Developer Express (for a database frontend ... I need to access the SQL Server Express databases via ODBC. ...
    (microsoft.public.data.odbc)