Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3170 could not find installable isam

Status
Not open for further replies.

BradCollins

Technical User
Sep 2, 2003
116
AU
This is (to me) a real strange problem.

Firstly I have a database coded to relink some tables on starting, it works without an issue.
Now I am creating a new database and would like to use the same process, so of course I copied the code form the original working database to the new one and now I get the error "3170 could not find installable isam" when I run it.

For the life of me I cannot see what has changed, I have added all of the identical references in the editor but yet I still cant get this to work. Any ideas or help would be most appreciated. The code I am using is below.

Thanks

Code:
Dim varOldLocation As Variant
    Dim varNewLocation As Variant
    Dim varOldConnectionString As String
    Dim varNewConnectionString As String
    Dim ctl As Control
    Dim db As Database
    Dim TDF As TableDef
    Dim frm As Form
    
    varOldLocation = Me.txtFileNameOld.Value
    varNewLocation = Me.txtFileNameNew.Value
    varOldConnectionString = ";DATABASE=" & varOldLocation
    varNewConnectionString = ";DATABASE=" & varNewLocation
    
    Set frm = Forms!frmUpgrade
    Set ctl = frm!PBarInitialise
    Set db = CurrentDb
    
    DoEvents
    
    ctl.max = 100
    ctl = 0
    
    DoEvents
    
    'relink all tables to supplied locations
    
    Set TDF = db.TableDefs("tblCourses")
    TDF.Connect = varOldLocation
    TDF.RefreshLink
    Debug.Print TDF.Connect
    ctl = ctl + 10
 
Curse Microsoft and they're inability to leave up KB articles...

I haven't seen an ISAM error message in a long time. They are usually caused by corrupt DLL's. The a couple Jet 4.0 files are listed below.


Excel: C:\WINDOWS\system32\msexcl40.dll
Text: C:\WINDOWS\system32\mstext40.dll


I would suggest closing access, deleteing the offending file and repairing the install of Access. From what I remember the files are named consistently... ms*40.dll for all the ISAM's. Access 97 uses Jet 3.5 and those files are named ms*35.dll. There was a KB article that described a rather involved way to fix it for Access 97. I am hoping the delete and repair works much better.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top