Error: "System error 240 has occurred. The session was cancelled"
(Last modified: 14Nov2003)
This document (10080030) is provided subject to the disclaimer at the end of this document.
fact
Novell NetWare 5.1
Novell NetWare 6.0
Novell Native File Access Pack
Novell Native File Access Protocols
Novell Native File Access for Windows
symptom
Error: "System error 240 has occurred. The session was cancelled"
Error: "System error 64 has occurred. The specified network name is no longer available."
Error: "System error 1351 has occurred. Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied."
Error: "Systemfehler 240. Die Sitzung wurde abgebrochen"
The NET USE command returns "System error 240 has occurred. The session was cancelled" after 2 minutes, when trying to connect to a Native File Access for Windows CIFS server.
cause
The NetWare CIFS server suddenly stops responding to incoming SMB_COM_NEGOTIATE requests. Normally, the NetWare CIFS server would respond with a selection of the latest CIFS Protocol Dialect "NT LM 0.12". A LAN trace would show that the NetWare TCP/IP stack acknowledges the income of the client's SMB_COM_NEGOTIATE request, but the NetWare CIFS server does not return a response. After waiting for a response from the NetWare CIFS server for about 2 minutes, the client will time out and return the error message "System error 240 has occurred. The session was cancelled" to the user.
fix
Section "2.6.3 Connection Management" of the expired CIFS specification draft-leach-cifs-v1-spec-02 reads: "a server may terminate the transport connection when the client has no open resources on the server, however, we recommend that the termination be performed only after some time has passed or if resources are scarce on the server".
If you have configured the NetWare CIFS server to handle authentication in domain mode, then please ensure that you have specified both, the name and the IP address of the Primary Domain Controller.
If the Primary Domain Controller runs on a multi-homed Windows NT or Windows 2000 server, the NetWare CIFS server should be able to reach each IP address of the multi-homed server at UDP port 137 and TCP port 137 and 139, even though you can configure only one IP address with the CIFS configuration. This requirement is due to a defect with the NetWare CIFS server, which is reported to Novell engineering.
document
Document Title: | Error: "System error 240 has occurred. The session was cancelled" |
Document ID: | 10080030 |
Solution ID: | NOVL86841 |
Creation Date: | 07Feb2003 |
Modified Date: | 14Nov2003 |
Novell Product Class: | NetWare |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.