Token not found in GEN/EXECUTABLE

 3 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Steven
New Member
Posts: 4
New Member
    I have an online progam that runs fine in LID. But in portal I get the error "Token not found in GEN/EXECUTABLE". I did a rngdbump on the EXECUTABLE file and verified the token is there. Not sure what is going on. Help is appreciated. Thanks.

    Things I've already tried:
    Recompiled program and all programs being invoked.
    Ran scrgen and xscrgen on program and invoked programs
    Verified program type is set to "Four G/L".
    Jimmy Chiu
    Veteran Member
    Posts: 641
    Veteran Member
      check your security class to see if you have assigned the custom token to the security class?

      if it's custom programs, have you resync your meta?

      perl %gendir%\bin\appmetadiff -d to display the meta differences.

      use -s in place of -d to sync.
      Steven
      New Member
      Posts: 4
      New Member
        I verified the security class and it looks correct.

        I tried the appmetadiff utility - it is showing errors for basically every program.  The message is:

        "Object XXXX.pgm exists in GEN but has no source file."

        The message doesn't make any sense. 

        John Henley
        Posts: 3353
          The appmetadiff errors are because you (or whomever) installed the product line didn't sync the metadata when building the product line.
          You can use 'perl %gendir%\bin\appmetadiff -s prodline' to fix that.

          Have you tried IOSCacheRefresh? That is likely the cause, as it works in LID but not in Portal--IOS probably doesn't know about the program yet.
          Thanks for using the LawsonGuru.com forums!
          John