Kbase P68971: Error 4025 Running Persistent Procedures
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/07/2008 |
|
Status: Unverified
SYMPTOM(s):
Error 4025 Running Persistent Procedures
**Unable to realize <widget name>. (4025)
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.0A
CAUSE:
Previous to Progress 9.1D09 and OpenEdge 10.0B, there was a limit of 2037 widget handles per session at a given time. If an application has created or defined more widgets than the limit, error 4025 will be encountered.
FIX:
Review application logic:
- When running a persistent procedure that creates widgets, ensure that only one copy of the the procedure is run at any given time by using a statement similar to:as per the following statement:
IF NOT VALID-HANDLE(hDialog) THEN
RUN dialog.w PERSISTENT SET hDialog NO-ERROR.
- Ensure that all the objects and widgets created in the procedure are perdeleted once the procedure is deleted.
- If using a WIDGET-POOL, ensure that the Pool and its widgets are also deleted
Note that all the widgets would have to be realized in order to hit the limit. Once the widget is no longer enabled, Progress releases the widget handle and reuses it when a new widget needs to be created.
From Service Pack 9 for Progress 9.1D and OpenEdge 10.0B, the limitation on the number of widgets that can be created by a GUI prowin32 session has been removed.