Using UNC Under Win 3.1 or WfW 3.1 with Long Server Name

ID: Q100698


The information in this article applies to:
  • Microsoft LAN Manager, version 2.2


SYMPTOMS

When you attempt to load a document (In Word, Notepad, etc.) or execute a program with the File/Run command from a server with a Universal Naming Convention (UNC) name that is longer than 11 characters (for example, \\twelvecharac\public\edit.com) the system returns immediately with a dialog indicating that the program/file cannot be found or the path is invalid. If the server name is 11 characters or less, it functions correctly.

A Sniffer trace of frames to or from the workstation shows that when the server name is longer than 11 characters, no attempt is made to access the network.


CAUSE

The OpenFile() Windows function uses a function internal to the Windows kernel to check the length of the file name and returns an error if it is greater than 11.


RESOLUTION

Applications that use the _lopen() function to open a file should not experience this limitation. Otherwise, you must adjust server name length or work within the limitation.

Additional query words: 2.20 2.2 bug windows unc long name

Keywords :
Version : :2.2
Platform :
Issue type :


Last Reviewed: November 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.