ENDIF Statement in NetWare Login Script Causes Error Message (216360)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q216360

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 that this is a problem in the Microsoft products that are 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:

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


Modification Type:MajorLast Reviewed:11/21/2003
Keywords:kb3rdPartyNetClient kbnetwork kbprb KB216360