Consultor Eletrônico



Kbase P114964: Choosing Help Topics in Dynamics thin client session fails with error (AF:19)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/6/2006
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1B

SYMPTOM(s):

Choosing Help Topics in Dynamics thin client session fails with error (AF:19)

Cannot find help file: (AF:19)

Client/Server session works fine and help file is successfully found

CAUSE:

This is a known issue being investigated by Development

FIX:

Workaround for this issue is as follows:

1. Copy following files from the Dynamics installation directory under the working directory:
src\icf\af\app\afsesmngrp.i
src\icf\af\sup2\afsesclntp.p

2. Locate the internal procedure 'helpTopics' in the afsesmngrp.i
and just before the statement:
IF AVAILABLE ttSecurityControl THEN add the following :

FIND FIRST ttSecurityControl NO-ERROR.

This ensures that buffer will be available and cHelpFile variable set
correctly.

The code should look like this:
DEFINE INPUT PARAMETER phContainer AS HANDLE NO-UNDO.
DEFINE VARIABLE cHelpFile AS CHARACTER NO-UNDO.
DEFINE VARIABLE cHelpFound AS CHARACTER NO-UNDO.
IF NOT CAN-FIND(FIRST ttSecurityControl) THEN
DO:
RUN getSecurityControl IN gshSecurityManager (OUTPUT TABLE ttSecurityControl).
FIND FIRST ttSecurityControl NO-ERROR.
END.
FIND FIRST ttSecurityControl NO-ERROR.
IF AVAILABLE ttSecurityControl THEN
ASSIGN cHelpFile = ttSecurityControl.default_help_filename.
/* Rest of the procedure is unchanged */
3. Compile src\icf\af\sup2\afsesclntp.p and deploy it on client