Previous Page

Troubleshooting Tips

This section discusses common problems you may encounter when connecting to external data sources.

Resolving Connection Problems

If your application cannot connect to the external data source, you can check for the following:

 Make sure you can access the external table through Windows Explorer or File Manager. If the table is stored on a network share, for example, check that you have sufficient permissions to access that share.

 Check that the external table is accessible through its native application. For example, if you're trying to open a Microsoft Excel worksheet, check that you can open the worksheet in Microsoft Excel.

 Check the code that establishes the connection to the external table carefully to make sure that it follows the guidelines given in "Specifying Connection Information" earlier in this chapter.

 If you were able to connect to the external table through your application before but you can't now, check that the table is still in its original location. If the table is linked to your Microsoft Access database and it has been moved, you need to refresh the link before you can access the table.

See Also   For more information, see "Maintaining Links to External Tables" earlier in this chapter.

 If you receive the message "Unable to find installable ISAM," check the source database type specified in your code against those in the table in "Specifying Source Database Types" earlier in this chapter. (Remember that Excel 7.0 isn't a valid source database type; use Excel 5.0 instead.)

 If the source database type matches one of the values in the table in "Specifying Source Database Types," check that the installable ISAM driver resides in the folder specified in the Windows Registry in the \HKEY_LOCAL_MACHINE \SOFTWARE\Microsoft\Jet\3.5\Engines key.

 If you are supplying arguments to a case-sensitive data source, check that the arguments are of the correct form and case.

 Make sure the system on which the external data source resides has sufficient disk space.

 If you are trying to access the table by using Visual Basic code, try to import the table by pointing to Get External Data on the File menu and clicking Import. Check the properties that are set in Design view of the imported table and compare them to the connection string that you are using in your code.

Understanding Temporary Space Needs

Microsoft Access creates temporary indexes on your local computer when you run a query. This occurs even when the data is located in an external data source and in a different file format. These indexes can be as small as a few kilobytes or as large as several megabytes, depending on the data source.

You should make sure users of your application have sufficient resources to accommodate these temporary space needs. All users should have a subfolder named Temp in their Windows folder, and enough disk space to store the indexes that Microsoft Access may create.

Important   If users don't have the disk space necessary to store temporary indexes, your application may behave unpredictably.

© 1996 Microsoft Corporation. All rights reserved.

Next Page


Casa de Bender