Options

No execute permission on 'E-Mail Dispatcher' CodeUnit ID5065

sagesage Member Posts: 29
edited 2014-02-06 in NAV Three Tier
Hi all,

Today one my of users get this error when open RTC 2009R2
"No execute permission on 'E-Mail Dispatcher' CodeUnit with ID 5065". :shock:
She justed used it yesterday and I didn't modify anything.

After searched I found this post. viewtopic.php?t=48153 :D

So I try everything such as
re-compile C-5065,
re-compile all CU,
remove Company from this user in User Personalization,
add role SUPER to this user
and synchronize after every change but there's still error. :cry:

In that post, I wondered what are they talked about roll 'ALL'.
I can't find it. Do I have to add something ? Any suggestion ? :-k

thanks,

Comments

  • Options
    geordiegeordie Member Posts: 655
    From Tools -> Security -> Roles the first shown should be "ALL": try to assign it to user raising the error (in other words you need to insert a record in Windows Access Control table with Role ID = ALL and Company Name blank).
  • Options
    sagesage Member Posts: 29
    geordie wrote:
    From Tools -> Security -> Roles the first shown should be "ALL": try to assign it to user raising the error (in other words you need to insert a record in Windows Access Control table with Role ID = ALL and Company Name blank).
    thanks for your advise. I will find on next monday. [-o<
  • Options
    sagesage Member Posts: 29
    Hi again,

    I can't find role 'ALL' in my DB, but I have role 'ADMIN' with following access control (attached picture).

    I assigned it to user but the error still occur. :( and I tried with role 'SUPER' also.


    For more information.
    I didn't specify company name in Window Access Control and I have 2 companies in this DB.
    User cannot access the real company but can access test company !
    This make me very confused. :-k

    Someone please help. T___T
  • Options
    geordiegeordie Member Posts: 655
    Hi, sorry for late reply :oops:
    You can find the role ALL in a Cronus database, can you please re-create it in your db and give a try?
    Moreover, this is the point in codeunit 1 (LogInStart function) where "E-Mail Dispatcher" is called:
    RMSetup.GET;
    IF (RMSetup."E-Mail Logging User ID" <> '') AND (RMSetup."E-Mail Logging User ID" = UPPERCASE(USERID)) THEN
      CODEUNIT.RUN(CODEUNIT::"E-Mail Dispatcher");
    

    Is your code still standard, right?
Sign In or Register to comment.