ENDIF Statement in NetWare Login Script Causes Error Message

ID: Q216360


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SYMPTOMS

During your Windows 2000 logon process, if a NetWare logon script is run by Client Services for NetWare (CSNW) or Gateway Services for NetWare (GSNW), the following Dr. Watson error message may occur:

An application error has occurred and an application error log is being generated.
NWSCRIPT.exe
Exception:access violation (0xc0000005), Address:0x01cae84d
This problem occurs with either CSNW or GSNW when you are attaching to a NetWare server as a bindery or NetWare Directory Services (NDS) user.


CAUSE

Nwscript.exe does not treat ENDIF as a valid argument. The command is not supported by the Windows 2000 logon script processor.


RESOLUTION

To avoid this problem when you are running logon scripts with GSNW or CSNW, remove ENDIF statements from NetWare logon scripts; replace them with END statements.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

Q156411 ENDIF Does Not Work in NetWare Login Script with CSNW/GSNW

Additional query words:

Keywords : kbnetwork kb3rdpartynet
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


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