Consultor Eletrônico



Kbase P112462: ProxyGen fails with error (7264) in the Proxygen log file when generating a .NET proxy due to wrong
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/28/2006
Status: Unverified

SYMPTOM(s):

ProxyGen fails when generating a .NET proxy

The error (7264) is listed in the Proxygen log file

The r-code for this procedure contains invalid prototype information. (7264)

Double-clicking on the .R program within ProxyGen causes error (8798)

Could not read r-code based on the codepage it was written in (<codepage>). <Exception Msg> (8798)

Could not read r-code based on the codepage it was written in (utf-8). Input string was not in a correct format. (8798)

The error (7263) can also occurs when double-clicking on the .R program with ProxyGen

Progress.ProxyGen.Open4GLException:The parameter/return type: <parm type> is not supported from an open client. (7263)

The .R program has not been compiled using UTF-8 code page

The 4GL program contains a DATASET as parameter

CAUSE:

The definition of the RELATION-FIELDS in the DATASET is not correct. It contains an extra field when defining the list of join fields between the parent and child table.

Pairs in DATA-RELATION RELATION-FIELDS phrase must be in the form: parent-field, child-field.

FIX:

Remove the extra field in the RELATION-FIELDS.

For example:

DEFINE TEMP-TABLE ttTable1 NO-UNDO
FIELD Field1 AS INTEGER
FIELD Field2 AS CHARACTER .

DEFINE TEMP-TABLE ttTable2 NO-UNDO
FIELD Field1 AS INTEGER
FIELD Field2 AS CHARACTER .

DEFINE DATASET dsDataSet FOR ttTable1, ttTable2
DATA-RELATION drTT FOR ttTable1, ttTable2
RELATION-FIELDS (Field1,Field1) . /* The initial definition was: RELATION-FIELDS (Field1,Field1,Field1 ) . */

DEFINE OUTPUT PARAMETER DATASET FOR dsDataSet.