SLI Application Fails With LUA_RESERVED_FIELD_NOT_ZERO [sna] ID: Q197629 CREATED: 18-DEC-1998 MODIFIED: 18-DEC-1998 WINDOWS:3.0SP3,4.0SP1 WINDOWS PUBLIC | ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft SNA Server, versions 3.0 Service Pack 3 and 4.0 Service Pack 1 --------------------------------------------------------------------- SYMPTOMS ======== When running an SLI application on SNA Server 3.0 Service Pack 3 or SNA Server 4.0 Service Pack 1, the SLI application may fail unexpectedly with the following return code: primary_rc = LUA_PARAMETER_CHECK (0x0001) secondary_rc = LUA_RESERVED_FIELD_NOT_ZERO (0x00000006) This problem does not occur with earlier versions of SNA Server. CAUSE ===== The SNA Server SLI DLL (Winsli32.dll) was incorrectly using the RUI lua_extension_list_offset while formatting a chain of messages to send over the RUI interface. This problem was inadvertently introduced while adding the new SLI feature described in the following Knowledge Base article: Article-ID: Q186054 Title: SLI_SEND/SLI_RECEIVE Can Send/Receive A Maximum Of 65 KB Of Data MORE INFORMATION ================ The following excerpt from an SNA Server LUA API trace illustrates the problem: SLI ----------------------------------------------------------- SLI SLI_SEND request SLI ---- Verb Parameter Block at address 001B519C ---- SLI 52004600 00000000 00000000 04000000 SLI 00000000 00000000 00000000 00000000 <................> SLI E0268600 00008407 BA9E1400 44060000 <.&f...d.....D...> SLI 00000000 00000090 A0000100 00000000 <................> SLI 00000000 0000 <...... > SLI ---- Data at address 00149EBA ---- RUI ------------------------------------------------------------ RUI RUI_WRITE request RUI ---- Verb Parameter Block at address 00862990 ---- RUI 52004400 00000000 00000000 04800000 RUI 02000000 53324631 46303839 00000000 <....S2F1F089....> RUI 35000000 00000001 BA9E1400 B02E3064 <5.............0d> RUI 00000000 00000290 80010000 00000000 <................> RUI 00000000 <.... > RUI ---- Data at address 00149EBA ---- RUI ---------------------------------------------------------- RUI RUI_WRITE response RUI OK - OK RUI ---- Verb Parameter Block at address 00862990 ---- RUI 52004400 00000000 00000000 04800000 RUI 02000000 53324631 46303839 00000000 <....S2F1F089....> RUI 35000000 00000001 BA9E1400 B02E3064 <5.............0d> RUI 2C000109 000C0290 80010041 00000000 <,..........A....> RUI 00000000 <.... > RUI ---- Data at address 00149EBA ---- RUI RUI ------------------------------------------------------------ NOTE: This RUI_WRITE lua_extension_list_offset contains data but should have been zero: RUI RUI_WRITE request RUI ---- Verb Parameter Block at address 008629E0 ---- RUI 52004400 00000000 00000000 04800000 RUI 02000000 53324631 46303839 18628600 <....S2F1F089.bf.> RUI 35000000 00000001 BA9F1400 B02E3064 <5.............0d> RUI 2C000109 000C0090 00010000 00000000 <,...............> RUI 00000000 <.... > RUI ---- Data at address 00149FBA ---- RUI ----------------------------------------------------------------- RUI RUI_WRITE response RUI PARAMETER_CHECK - RESERVED_FIELD_NOT_ZERO RUI ---- Verb Parameter Block at address 008629E0 ---- RUI 52004400 00010000 00000006 04800000 RUI 02000000 53324631 46303839 18628600 <....S2F1F089.bf.> RUI 35000000 00000001 BA9F1400 B02E3064 <5.............0d> RUI 2C000109 000C0090 00010000 00000000 <,...............> RUI 00000000 <.... > RUI ---- Data at address 00149FBA ----