Consultor Eletrônico



Kbase P95011: ProxyGen fails to create .NET proxies with temp tables, referenced more than once, and having certai
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/6/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B
Windows

SYMPTOM(s):

Proxygen (for .NET) gives error with temp tables, referenced more than once, and having certain index definitions.

GeGenerating .NET proxies using the .r version of the following PERSISTENT procedure:
DEFINE TEMP-TABLE tbl
FIELD fld1 AS CHARACTER
FIELD fld2 AS CHARACTER
FIELD fld3 AS CHARACTER
INDEX ind1 IS UNIQUE PRIMARY fld1
INDEX ind2 IS UNIQUE fld2 fld3.
PROCEDURE p1:
DEFINE INPUT PARAMETER TABLE FOR tbl.
END PROCEDURE.
PROCEDURE p2:
DEFINE INPUT PARAMETER TABLE FOR tbl.
END PROCEDURE.

Log file contains info similar to:
** Generating .NET proxies ...
Creating AssemblyInfo.cs ...
Creating tblSchema.cs ...
>>ERROR generating .NET proxies

Deleting intermediate files ...
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\OpenEdge\WRK100B\SomeNameSpace\StrongTypesNS\tbl.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\OpenEdge\WRK100B\SomeNameSpace\StrongTypesNS\tbl.exe
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\OpenEdge\WRK100B\SomeNameSpace\StrongTypesNS\tbl.xsd
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\OpenEdge\WRK100B\SomeNameSpace\bugAppObj.cs
>>WARNING: Could not delete temporary file or directory - it may be in use by another application. C:\OpenEdge\WRK100B\SomeNameSpace\W409174128.cs
** Generation failed
Search for '>>ERROR' and '>>WARNING' in this log to find any problems.


CAUSE:

Bug# 20040922-033

FIX:

Upgrade to OpenEdge 10.0B01 or later