Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Error When Opening Linked Table in Shared .MDB File


View products that this article applies to.

This article was previously published under Q209544
Moderate: Requires basic macro, coding, and interoperability skills.

↑ Back to the top


Symptoms

When you try to open a linked table in a shared .MDB file, you may receive one of the following error messages:
Couldn't find file "<drive>:\<path>\<filename>
-or-
"<Drive>:\<path>\<filename>" isn't a valid path
-or-
Couldn't open file "<drive>:\<path>\<filename>

↑ Back to the top


Cause

The path to a linked table is hard-coded in the table's properties. For a shared .MDB file, this path is very likely invalid.

↑ Back to the top


Resolution

To work around this problem, either change the path to the linked file so that it is valid, or import the data instead of using a linked table.

To verify and correct the path for a linked table, use the following procedure:
  1. Open the table in Design view.
  2. On the View menu, click Table Properties. The Description property contains the path to the linked table.
  3. Place the .MDB file and its linked tables on a share on a dedicated server.
  4. Use one of the following two naming conventions:
    Choose a drive letter (for example, "u:") and make sure all users connect to the share using that drive letter. Use the same drive letter for the linked tables.

    -or-

    Use the universal naming convention (UNC) for the attached tables (for example, \\<server>\<share>\<filename>).
    NOTE: To link a database using UNC, specify the UNC name and the database name where you normally would specify the drive and database names. For example, instead of logging on to the network drive, typing the database name, and clicking Link Tables on the File menu, you need only enter the UNC name and the database name in the Link dialog box, as follows:

    \\MYSERVER\PUBLIC\MYDB.MDB

↑ Back to the top


More information

If the .MDB file is placed on a non-dedicated server that does not allow redirecting to itself, you must maintain two separate .MDB files, one to share with other workstations and one for your local computer.

For example, if the server name is SERVERNM, the SERVERNM computer cannot use the path \\SERVERNM\SHARE to access a file from its own hard disk.

Windows NT allows redirecting.

↑ Back to the top


References

For more information about linking tables in an external Access .MDB, click Microsoft Access Help on the Help menu, type linked tables in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB209544, kbprb, kbinterop

↑ Back to the top

Article Info
Article ID : 209544
Revision : 2
Created on : 7/16/2004
Published on : 7/16/2004
Exists online : False
Views : 268