Microsoft KB Archive/216360

= ENDIF Statement in NetWare Login Script Causes Error Message =

Article ID: 216360

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * 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

Keywords: kb3rdpartynetclient kbnetwork kbprb KB216360

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.