ACC: Invalid Path Error Message Using UNC with 10+ CharactersLast reviewed: May 28, 1997Article ID: Q105514 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. If you attempt to use a universal naming convention (UNC) path in Microsoft Access in which the server name is longer than 10 characters or contains spaces, you get the following error message
\\<servername>\<sharename> isn't a valid patheven though valid UNC server names can be up to 15 characters and can contain spaces. For example, the path
SystemDB=\\s234567890\ANYSHARE\SYSTEM.MDAworks correctly, but the following UNC paths cause the above error message to appear:
SystemDB=\\s2345678901\ANYSHARE\SYSTEM.MDA SystemDB=\\s2345 7890\ANYSHARE\SYSTEM.MDA CAUSEThis problem is not caused directly by Microsoft Access, but rather by an external host, such as Microsoft Windows for Workgroups, or by a network problem. Microsoft Access does not parse UNC paths; it hands them off to external processes.
RESOLUTIONOne way to work around this problem is to connect the server to a logical drive before using Microsoft Access and then reference the logical drive instead of the server. For example, you want to use a server named \\MY SERVER\MYSHARE, and you are using Microsoft LAN Manager. To reference this server, type:
NET USE F: \\MY SERVER\MYSHAREIn your MSACCESS.INI file, reference it as follows:
SystemDB=F:\SYSTEM.MDA STATUSThis behavior no longer occurs in Microsoft Access version 7.0, which can handle UNC names larger than 10 characters.
|
Additional query words: attaching
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |