Consultor Eletrônico



Kbase P51972: Trigger Location (-trig) appears not to work as expected.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/11/2003
Status: Unverified

SYMPTOM(s):

Trigger Location (-trig) appears not to work as expected.

Trigger is not being found. ** "C:/DirectoryName/ChildName/GrandChildName/trig/ trig/TriggerName.p" was not found. (293)

startup command includes a -trig startup parameter expression similar to:

-trig C:/DirectoryName/ChildName/GrandChildName/trig

Database listing of the triggers has the trigger names listed as:

trig/TriggerName.p

CAUSE:

The directory used with the -trig startup parameter is specified wrong. Since the database has the triggers listed as trig/TriggerName.p, Progress expects to find the triggers in a 'trig/TriggerName.p' subdirectory of the given -trig directory path. In our example, it looks for:

C:/DirectoryName/ChildName/GrandChildName/trig/trig/TriggerName.p

The above error is generated because no such directory exists and hence the trigger code could not be found.

FIX:

Modify the directory of the -trig parameter by removing the last child:

C:/DirectoryName/ChildName/GrandChildName/