Главная страница | назад





Article #19428: Error: APPC Allocate Error Security Not Valid

 Question and Answer Database
FAQ4428D.txt — Error: APPC Allocate Error Security Not Valid
Category :AS400
Platform :All-32Bit
Product :DelphiAS400,
Question:
How come I'm getting the error "APPC Allocate Error Security Not Valid" when
I try to connect to my AS/400 using Delphi/400.
Answer:
This error occurs when the port number to your AS/400 is
incorrect. The correct port number for Delphi 3 is 5003. The
correct port number for Delphi 4 is 4003.
Delphi 2/400 and Delphi 3/400 use the CO400 library on the
AS/400. Delphi 4/400 uses the CO404 library.
The way Delphi 4/400 decides to use the CO404 library is by
reading Version=4 from the CO400 section of WINI.INI. If
Version=4 is missing it connects to the CO400 library
instead.
The Delphi 4/400 Deployment install does not update WIN.INI,
so by default it attempts to connect to the CO400 library.
So, for Delphi 4/400 Deployments if you enter a port number
of 4003 and do not update WIN.INI, you will receive the
error APPC Allocate Error Security Not Valid unless you either update WIN.INI, or
have the CO400 library installed.
4/1/99 11:28:43 AM

Last Modified: 01-SEP-99