Results 1 to 9 of 9
  1. #1
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52

    Access 2010 front end/SQL back end. Odbc issues and more!

    Good afternoon everyone, I am trying to build a very simple search lookup application using access as a front-end and sql server as a back-end. My sql database is already secured on a company Network and part of a large sql server framework. So security is not necessarily a concern as our it area manages that.

    That said, the application will consist of four linked tables to the sql database, and four or five forms that search those linked tables. My issue is twofold, I have a static login and password that I had planned on using in a file data connection source via odbc for each table, but I cannot for the life of me get other end users to open the application without it saying it's unable to connect to odbc source. I manually added the password to my odbc connection file and they still can't connect. What am I doing wrong?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Are you saying you've created a File DSN on the server and used that to link the tables? Did you click on the "Save Password" checkbox while linking? Do the users have permissions to the location of the File DSN?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52
    Yes , created a file dsn. I did check save password, it did not appear in the actual file so I added it manually. The users definitely have access to that folder where the file dsn is housed.

    Thanks and sorry about my horrible initial post, it was voice to text. I'm stressed about this. Thanks!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You added it where? I previously used File DSN method with saved password; I never added the password anywhere after linking, just checked the box.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52
    Quote Originally Posted by pbaldy View Post
    You added it where? I previously used File DSN method with saved password; I never added the password anywhere after linking, just checked the box.
    it was not working for the end users, so I added it to the File from the file dsn. It worked on my PC and one of my co workers, but not my other co workers (the vast majority it failed on, saying unable to connect to odbc).

  6. #6
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52
    To be clear this is my plan:

    It's 4 sql db linked tables in access with a static login/pw using odbc file dsn. They will just use some simple search forms in the access ui to search the linked tables. I will launch an accde file via a script file that copies the accde file to the end users profile drive.

    Sooooo, i am having trouble getting the odbc to even function across end users and I'm also concerned about locking my static Id/pw ...sigh

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I've started using DSNless connections and Windows Authentication, but I used the File DSN/SQL Server login method for years. It's curious that it works on one of your coworker's computer but not others though. Can you identify anything different about you two vs the others? Can you post a screen shot of the error or its exact text at least?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52
    Hmmm, I will look tomorrow and post any findings, I sincerely appreciate the help 😎

  9. #9
    cdscivic is offline Resident Troll
    Windows XP Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    52
    What was crazy, earlier I deleted the connection file and the stupid thing still worked for me! Mind boggling.....(my personal windows account has access, like my actual login)

    I even created a quick and dirty new database / form and a fresh dsn file, it did the same but worked on someone else's PC. I legit am stumped.

    Will post tomorrow, thanks!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 05-11-2016, 08:14 AM
  2. Replies: 3
    Last Post: 04-06-2016, 10:28 AM
  3. Replies: 1
    Last Post: 03-02-2015, 09:44 AM
  4. Replies: 4
    Last Post: 10-03-2014, 11:57 AM
  5. Access front-end database ODBC problem
    By cuddles in forum Access
    Replies: 0
    Last Post: 07-31-2014, 12:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums