Solved

Access connection to SQL Server 2012

Posted on 2014-10-15
5
339 Views
Last Modified: 2014-10-23
I am trying to connect to a SQL Server 2012 database using an Access front end.  I have the connection string set to use SQL Server Native Client to connect to the database.

The problem I am running into is that I need to have this front end on both Windows 7 and XP computers and the SQL Server Native Client 11 will not install onto Windows XP.  

Does SQL Server 2012 require the SQL Server Native Client 11 or can I use an earlier version that will install onto XP computers?

Is there a way to force SQL Server Native Client 11 to install onto an XP computer?
0
Comment
Question by:MarkRod
5 Comments
 
LVL 49

Assisted Solution

by:Gustav Brock
Gustav Brock earned 167 total points
ID: 40382892
You should be fine with the driver named "SQL Server". It works for me with A2010/2013.

/gustav
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 167 total points
ID: 40382958
To provide a bit more information: You can connect to SQL Server using several different providers/drivers. In most cases, if you can use the "Native" client, you'll be better off, but as you've found out, that's not always possible.

That said, unless you really have a need to use higher-level functions, the "{SQL Server}" Driver works fine, and is installed (or installable) on most Windows boxes you'll run across today.
0
 
LVL 30

Assisted Solution

by:hnasr
hnasr earned 166 total points
ID: 40383088
All work fine, at the moment, with Access 2013 and SQL Server 2014..

DRIVER=SQL Server, displays master as the name in database selection box.
DRIVER=SQL Server Native Client 11.0, displays Default as the name in database selection box.
DRIVER=ODBC Driver 11 for SQL Server, displays Default as the name in database selection box.

Whatever the name, try to check the version of the driver. Use ODBC Data Source control panel, and select Drivers tab.
0
 

Author Closing Comment

by:MarkRod
ID: 40400372
Thanks for the help, I went ahead and changed the connection string to use SQL Server instead of SQL Server Native Client.
0
 
LVL 30

Expert Comment

by:hnasr
ID: 40400839
Welcome!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
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…

773 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