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?
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
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
you can have various .NET runtimes and SDKs installed at the same time.
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.
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
I believe this got broken in Microsoft SP2 for .NET 2.0. You will need to change the parameter to a DataSet.
Interesting Joseph. Thanks.