Delphi32.com - Home!
| Home/News | Downloads | Forums | D32 Magazine | Resources | Info and Facts |  
 
 Error: APPC Allocate Error Security Not Valid


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.   

    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/ /99 :28:43 AM

     



  << Previous Faq     Complete List     Next Faq >>  



 
 Hits/month  2,500,000+ 
 Downloads
 (Since May 2000)
 7,393,709 
 Total Files  6,023 
 Forum msgs  7,670 
 Articles/FAQs  70+/900+ 
Kylix
Tips n Tricks
FAQs
Knowledge Base
Bug Listings
Articles
Books
Newsgroups
Links
Submissions
Testimonials
Advertising
Contact Us
About Us
Search Amazon:
Top Selling Software at Amazon

| Home/News | Downloads | Forums | Resources | Info and Facts | Testimonials |
  Site Search:
 


Comments/Problems: Webmaster@delphi32.com
Copyright © 1998-2006, Delphi32.com. All rights reserved.
Terms of Use