Consultor Eletrônico



Kbase P129149: .NET Open Client does not always disconnect the AppServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/02/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

.NET Open Client does not always disconnect the AppServer

The AppServer is disconnected by using the Connection's ReleaseConnection() method

Using state-free AppServer

CAUSE:

The AppObject object is never disposed in the code before releasing the Connection.

The Dispose() method allows to properly disconnect from the AppServer.

FIX:

In order to properly disconnect the application from the AppServer, use the Dispose() method of the AppObject.


For example:

MyAppObject.Dispose(); // Disconnect the application from the AppServer
MyConn.ReleaseConnection(); // Release the connection held by the MyConn Connection object.