PRB: "Error Generating New App" from AppWizard on Novell

ID: Q97988

The information in this article applies to:

SYMPTOMS

An attempt to use the AppWizard provided with Microsoft Visual C++ version 1.0 to generate a new application on a Novell network may fail and AppWizard may display the following message:

   Error Generating new app

Most often, the error occurs when the AppWizard creates the README.TXT file but the message can appear when AppWizard creates other files as well.

CAUSE

By default, Novell NetWare searches a user's path when it looks for a data file to open. If a user has a file in a directory on the search path that has the same name as a file that AppWizard attempts to create, NetWare attempts to open the existing file rather than creating a new file in the current directory. If the user does not have the necessary rights to open the existing file for write access, the open fails and the error message above is generated.

RESOLUTION

Perform one of the following four steps to work around this situation:

MORE INFORMATION

The NetWare MAP command can delete a search drive mapping. To see the search drive mappings currently in effect, enter the following command at the MS-DOS command prompt:

    MAP

MAP should display a list similar to the following:

    Drive  A:   maps to a local disk.
    Drive  B:   maps to a local disk.
    Drive  C:   maps to a local disk.
    Drive  D:   maps to a local disk.
    Drive  E:   maps to a local disk.
    Drive  F: = SERVER\SYS: \USER
          -----
    SEARCH1:  = c:\dos
    SEARCH2:  = Z:.  [SERVER\SYS:  \PUBLIC]
    SEARCH3:  = Y:.  [SERVER\SYS:  \LOGIN]
    SEARCH4:  = X:.  [SERVER\SYS:  \APPS\MSVC\BIN]
    SEARCH5:  = W:.  [SERVER\SYS:  \WINDOWS]

To delete a search drive mapping, use the MAP command with the following syntax:

    MAP DEL SEARCH<n>:

where <n> is the number of the search drive to delete. For example, to delete search drive mapping two, use the following command:

    MAP DEL SEARCH2:

Additional query words:
Keywords          : kb16bitonly
Version           : 1.0 1.5

Last Reviewed: August 7, 1998