Job Queue issue

Johan_007Johan_007 Member Posts: 53
Ok, So I've set up a Job Queue running a CodeUnit( compiled the codeunit, ran it manually and works 100%), reset the NAS, but everytime the Job Queue runs it says error. All the parameters of the Job Queue is set correct... So we've tried something else, another developer created the same identical Job Queue and it works....... ? Why?

the error it gave me was:

Overflow under type conversion of Text to Text.
Value: S-1-5-21-528184539-3551631994-13584294-1275

The value displayed above(S-1-5-21-528184539-3551631994-13584294-1275), is found in the Windows Log ID's.

I really dont understand why this happens.. Any advice?

Answers

  • garakgarak Member Posts: 3,263
    Do you have somewhere stored in your job a UserID :?:
    Do you make it right, it works too!
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    If you store the UserID, you'll need to use function ValidateUserID from codeunit "Login Management" to convert Windows Logins.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • kinekine Member Posts: 12,562
    Have the NAS enough permissions to connect to AD to resolve the SID to user name?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Johan_007Johan_007 Member Posts: 53
    yes, I got a userID on the job, and all the other ones too, and it gets validated and I checked NAS does have sufficient permissions to run. It just seems funny that it only happens when I create the Job.
Sign In or Register to comment.