Rx_
Nothing In Moderation
- Local time
- Yesterday, 18:36
- Joined
- Oct 22, 2009
- Messages
- 2,803
UPDATED: Once the 32 bit Native Client was located (see instructions below) simply changing 10.0 to 11.0 worked perfectlly!
Access 2010 developed on Windows 7 32 Bit - hosted on Citrix Server Windows 64 bit running Office 32 bit - linked to a SQL Server 2008r2 DB (DSN-Less)
Is the new SQL ODBC Driver 11 the same as SQL Server Native Client 11 ???
On my ODBC, the SQL Server SQl Native Client 10.0 was called Native Client. The SQL version 11 upgrade shows up as ODBC Driver 11 for SQL Server
Access 2010 Programmer that uses linked tables with SQL Server Native Client 10 on the Windows 7 (32 bit) development workstation. Rebooted both server and workstation.
The Windows 7 ODBC Data Source Administrator interface - Drivers show ODBC Driver 11 for SQL Server version 2011.110.2270.00 Can succcessfully connect to SQL Server with the 11 client.
Thought just changing the Native Client 10.0 to Native Client 11.0 would work. No such luck.
Line 50 The code below works perfectlly with Native Client 10.0 - It fails if it is changed to sQL Server Native Client 11.0.
Is there a different driver for SQL Server Native Client - or is there a different connection string?
Access 2010 developed on Windows 7 32 Bit - hosted on Citrix Server Windows 64 bit running Office 32 bit - linked to a SQL Server 2008r2 DB (DSN-Less)
Is the new SQL ODBC Driver 11 the same as SQL Server Native Client 11 ???
On my ODBC, the SQL Server SQl Native Client 10.0 was called Native Client. The SQL version 11 upgrade shows up as ODBC Driver 11 for SQL Server
Access 2010 Programmer that uses linked tables with SQL Server Native Client 10 on the Windows 7 (32 bit) development workstation. Rebooted both server and workstation.
The Windows 7 ODBC Data Source Administrator interface - Drivers show ODBC Driver 11 for SQL Server version 2011.110.2270.00 Can succcessfully connect to SQL Server with the 11 client.
Thought just changing the Native Client 10.0 to Native Client 11.0 would work. No such luck.
Line 50 The code below works perfectlly with Native Client 10.0 - It fails if it is changed to sQL Server Native Client 11.0.
Is there a different driver for SQL Server Native Client - or is there a different connection string?
Code:
10 UID = "MyUID"
20 pwd = "MyPwd"
30 sLocalName = TableName ' Table name passed in from list into this function
Dim DataBaseName As String
40 'DataBaseName = "SQLDB"
50 strConnectionString = "ODBC;DRIVER=SQL Server Native Client 10.0;" & _
"SERVER=mySQLl\myDBInstance;DATABASE=" & DataBaseName & ";" & _
"UID=" & UID & ";" & _
"PWD=" & pwd & ";" & _
"Table=DBO." & sLocalName & ";Option=3;"
60 ModifiedRefreshDNSLess2 = strConnectionString
Last edited: