Kbase 21045: Error 1005 When Trying to Connect to AppServer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/03/2010 |
|
SUMMARY:
You might encounter error 1005 when trying to create an AppServer connect procedure.
Procedure <proc> passed parameters to <proc>, which didn't
expect any. (1005)
EXPLANATION:
This error indicates that a procedure passed runtime parameters to a sub procedure that did not declare any parameters.
SOLUTION:
If you specify a connect procedure, you must define it with three character input parameters. Here is an example of how you can define these input parameters.
DEFINE INPUT PARAMETER user-id AS CHARACTER NO-UNDO.
DEFINE INPUT PARAMETER password AS CHARACTER NO-UNDO.
DEFINE INPUT PARAMETER app-server-info AS CHARACTER NO-UNDO.
References to Written Documentation:
Building Distributed Applications Using the Progress AppServer, "Connect and Disconnect Procedures".