ProxyGen Error When TEMP-TABLE As Parameter In A Procedure

Posted by ericg on 08-Sep-2009 16:25

Hi there. I am trying to generate a .NET proxy with a procedure that has a INPUT TABLE parameter. Such as:

DEFINE INPUT PARAMETER TABLE FOR theTempTable.

However I get a ProxyGen error and in the log file I get:

StrongTypesNS\theTempTable.cs(255,1): error CS1519: Invalid token '*' in class, struct, or interface member declaration
StrongTypesNS\theTempTable.cs(255,18): error CS1002: ; expected
StrongTypesNS\theTempTable.cs(255,30): error CS1002: ; expected
StrongTypesNS\theTempTable.cs(255,37): error CS1519: Invalid token '/' in class, struct, or interface member declaration
StrongTypesNS\theTempTable.cs(921,6): error CS1513: } expected

And before this I get the following where it thinks the temp-table is a dataset:

** Generating .NET proxies ...
  

   Creating theTempTableSchema.cs ...

And before this it seems that it defines the procedure and the table correctly.

Any suggestions?

All Replies

Posted by mhtan88 on 11-Nov-2009 00:02

hi eric,

what version are you using?  it should be your .Net problem. do you install .Net SDK ?

i also did experience this.  I'm using OpenEdge10.0B.

you need to use .Net 1.1 and SDK .Net 1.x once you upgraded to .Net 2.x above. and

you will hit this error.

Thank you.

Regards,

tanMH

Posted by ericg on 12-Nov-2009 10:41

Thanks Tan. I have .NET 3.0 installed but I am not sure what the effects are if I downgrade to 1.0. I am not using Visual Studio, just Progress development. I am also using OpenEdge 10.1C. Anyways I seem to not be needing my original example right now. But I will remember your suggestion. Thanks

Posted by Admin on 12-Nov-2009 11:06

you can have various .NET runtimes and SDKs installed at the same time.

Posted by ericg on 12-Nov-2009 11:36

Okay thanks. Then it is still a question as to why I get the errors. I

am not using a table as a parameter right now, but it would be nice to

know why the errors.

Posted by mhtan88 on 15-Nov-2009 18:48

Hi Eric,

Or try to print screen on ur proxy generator configuration.

there are two option in Procedures Non-Persistent Procedures and Persistent Procedure.

which one do you add into?

Thank you.

Tan

Posted by jquerijero on 16-Nov-2009 14:20

I believe this got broken in Microsoft SP2 for .NET 2.0. You will need to change the parameter to a DataSet.

Posted by ericg on 17-Nov-2009 16:01

Interesting Joseph. Thanks.

This thread is closed