Link to home
Start Free TrialLog in
Avatar of AccessGuy1763
AccessGuy1763

asked on

Access linking to SQL Server problem

I've spent hours searching through this forum and all over the internet for a solution to this one, but I'm a bit stumped.

I have a client where I am trying to link an Access 2007 front end to a SQL Server 2008 database.  I have written code to establish a DSN-less connection, but I am getting the common/generic "Specified server does not exist or access denied." error message.  This exact same error message appears if I use a DSN to attempt to establish the link.

The part that is really throwing me for a loop is that the EXACT same DSN returns a successful connection test when I am viewing it through the ODBC Administrator.  I have established appropriate security for the user.. TCP/IP is enabled... If it's a common solution to this problem... I've probably tried/checked it (although I'm still very open to suggestion at this point).  

I did notice that their SQL Server Browser service is not enabled... is it possible that would cause these symptoms?

Thanks in advance for the help!
ASKER CERTIFIED SOLUTION
Avatar of Kelvin Sparks
Kelvin Sparks
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The odbc driver is odbcad32.exe
Avatar of AccessGuy1763
AccessGuy1763

ASKER

This is interesting and an issue I'm familiar with.  Office 2007 wasn't available in 64 bit and my user is on a 64 bit version of Windows.  So, when I pull up the "linking wizard" from Access, which ODBC Administrator is shown.. 32 bit or 64?
Access always uses the 32 bit administrator. On a 64 bit machine the ODBC administrator you see from Control Panel is the 64 bit one. Stay clear of 64 bit Access - it create more issue than you can deal with. To see the same ODBC administrator you need to manually start the one in the folder I mentioned above. Then you can compare apples with apples.

Kelvin
Thanks Kelvin this is most helpful and should get me rolling again when I go to the site tomorrow to try some things out.