AppServer and .NET

Posted by alextrs on 18-Dec-2009 07:18

Hello,

I have a library and in this library (just in couple methods) I use .NET classes.There are no problems with this on the client's side

and everything works, but when I try to use the same library in AppServer side, I get this error:

P-003396 T-003948 1 AS -- (Procedure: 'RegisterUserInDB.p ' Line:22) Could not find class or interface System.Net.IPAddress. (12886)

I tried to compile this library, and after this the error has gone, but still it's interesting whats wrong(maybe it's my environment), why I can't run not compiled library

with .NET classes on AppServer (Progress 10.2B beta).

Thank you!

All Replies

Posted by Admin on 18-Dec-2009 07:35

The Progress AppServer does not allow (direct) access to .NET classes.

GUI for .NET has been added to the Client with OpenEdge Release 10.2A to allow seamless access to .NET classes from the client products (Client-Networking or WebClient).

The only chance to use .NET classes from an AppServer process would be building a COM-Wrapper and using the .NET class as an OLE automation server. If you don't use the .NET classes heaviely, creating an exe file and executing that exe file might work as well.

This thread is closed