We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Error --> could not find installable ISAM --> TRANSFERDATABASE (ODBC)

b_o_b
b_o_b asked
on
Medium Priority
1,155 Views
Last Modified: 2011-10-03
I am trying to programmatically link SQL SERVER table to a MS ACCESS Database.
Here is my code -->

Function linktable()
        Dim oAccess As Access.Application
        oAccess = New Access.ApplicationClass

       ' Open a database:
        oAccess.OpenCurrentDatabase(filepath:="C:\Documents and Settings\abdullah\Desktop\dbtest.mdb", Exclusive:=False)

        Dim constr
        constr = "ODBC, Description=qqq; Driver = SQL Server; Server=Abdullah; APP = Microsoft Office XP; WSID = ABDULLAH; DATABASE=VSKSUS; TRUSTED_CONNECTION = YES"

        oAccess.DoCmd.TransferDatabase _
        (Access.AcDataTransferType.acLink, _
         "ODBC Database", _
          constr,_
          Access.AcObjectType.acTable, _
          "CustomerInfo", _
          "CustomerInfo", _
          True, True)

End Function

--> I get the error on the DoCmd link sayin "could not find installable ISAM"
I have already checked the Microsoft Support page on the matter --> http://support.microsoft.com/?id=209805

But all the registry keys seem to be fine
Does anybody have a solution or a way around this?

Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.