Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 832
  • Last Modified:

Could Not Find Installable ISAM

In Access 2002 I'm tryng to use VBA to link to SQL Server.

DoCmd.TransferDatabase acLink, "ODBC Database", "DRIVER={SQL Server};Server=SERVERNAME;Database=DBNAME;Trusted_Connection=yes;", acTable, strSourceObject, strTargetObject, , True

SERVERNAME andDBName in my cod are valid SQL Sever objects.
strSourceObject and strTargetObject arethe source and target table names.

I got the "Cannot find installable ISAM" error. In researching this I looked at my registry where severa keys point to the various DLLs required to solve this issue. I copied all of the following DLLS to the C:\Program Files\Microsoft Office\Office10\ folder becaus that isthe folder the registry is poining to:

Msexcl40.dll
Msexch40.dll
Msrd2x40.dll
Msrd3x40.dll
Msltus40.dll
Mspbde40.dll
Mstext40.dll
Msxbde40.dll

I still got the error. One final not my Access 2002 ia installed on a windows XP box that has Outook 2010 and Excel and Wor 2007 -  a real mismash!

The only thing I can think of it to re-register the dlls from the command line with, for example:

regsvr32  C:\Program Files\Microsoft Office\Office10\Msexcl40.dll
0
paulmcneil
Asked:
paulmcneil
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I copied all of the following DLLS to the C:\Program Files\Microsoft Office\Office10\ folder
You really, really should not do this. I'd suggest that you reinstall Office at this point to insure that you have the correct versions of all your dependency files.

Also make sure that you're fully up to date on all Office/Access and Windows updates.
0
 
datAdrenalineCommented:
I do agree with LMS, you don't (and should not) to anything with all those DLL's ... and if you did, then a removal of those DLL and a reinstall of Office is likely appropriate.

---

... Plus ...

The issue you are experiencing is easy to solve.  You simply need to add "ODBC;" to the beginning of your connection string ...

DoCmd.TransferDatabase acLink, "ODBC Database", "ODBC;DRIVER={SQL Server};Server=SERVERNAME;Database=DBNAME;Trusted_Connection=yes;", acTable, strSourceObject, strTargetObject, , True
0
 
datAdrenalineCommented:
While you have accepted an answer (glad it got you going!) please do note that your Connect string will indeed need the ODBC prepended to it as I have shown, otherwise you will continue to get the error of "Cannot find installable ISAM".
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now