Results 1 to 2 of 2
  1. #1
    cbeganesh is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    1

    database connection


    hello
    Im new to access. We have one existing access application. recently we moved the sql server database to another server. when i open the app now its giving error " unable to connect to spserver\spserver"
    IM not sure where i have to change the servername in access. any help is appreciated.

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    It depends on how it is accessing the SQL Server. If it is just through linked tables then you would need to go to Linked Table Manager and then select the checkbox Always Prompt for New Location and then select all of the SQL Server tables in the list that go with that instance and then relink (you would have had to modify the DSN first to point to the right spot). If it is within code then the code would need to be changed and if it is within a table then that would need to be changed.

    So there isn't just a single answer for this as it all depends on what you have and how it is being done.

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

Similar Threads

  1. DAO Connection
    By Tyork in forum Programming
    Replies: 1
    Last Post: 10-11-2010, 01:35 PM
  2. Change database connection
    By unique in forum Access
    Replies: 1
    Last Post: 01-28-2010, 04:01 AM
  3. Database Connection Error
    By pgabell in forum Access
    Replies: 1
    Last Post: 01-17-2009, 07:24 AM
  4. Connection to same DB
    By emilylu3 in forum Access
    Replies: 1
    Last Post: 12-30-2005, 09:59 AM
  5. connection to db
    By emilylu3 in forum Access
    Replies: 2
    Last Post: 12-29-2005, 01:06 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