Solved

Trying to connect to SQL 2005 database from MS Access on a different domain.

Posted on 2008-10-13
6
180 Views
Last Modified: 2013-11-28
I have an Access 2003 front end which connects to a SQL 2005 back end on the same network but on a different domain. I have set the ODBC configuration to connect with SQL server authentication and entered a default login ID but every time I try to retrieve any data from the SQL back end I'm prompted for a password. The data is eventually displayed but the password has to be entered so continuously as to make it unusable. How can I eliminate the need to enter this password constantly?
0
Comment
Question by:davidpetersen
  • 2
  • 2
6 Comments
 
LVL 9

Expert Comment

by:Sander Stad
ID: 22709040
How did you set up the connections from the front-end to the back-end. Did you use linked tables or something?
Have you checked the SQL user credentials, username and password?
0
 

Author Comment

by:davidpetersen
ID: 22709141
Yes sstad I'm using linked tables. As for the credentials, I've used the sa administrator login and password for the SQL database, so this shouldn't be an issue. I can eventually see all the data but I'm constantly being asked for the administrator password - I need to find a way to have Access remember this.
0
 
LVL 9

Accepted Solution

by:
Sander Stad earned 500 total points
ID: 22709198
There are a few solutions to this problem.
  1. Create a linked table and set the option to save the password. http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_23360854.html
  2. Try to create a ADO connection to the SQL Server: http://www.devnewsgroups.net/group/microsoft.public.sqlserver.tools/topic57266.aspx
0
 

Author Comment

by:davidpetersen
ID: 22709264
Thanks - will try this tomorrow and let you know.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now