the indexing 0 in the array is outside of the permitted rang

gvolkovgvolkov Member Posts: 196
edited 2007-11-20 in Navision Attain
I amgetting this error right when i am trying to open an upgraded company (3.7 to 5.0) interestingly, i am not getting this error when its opened from my laptop, only when opened from client's server's terminal session.
Microsoft Certified Technology Specialist
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist

http://www.navisiontech.com

Comments

  • krikikriki Member, Moderator Posts: 9,115
    Some things to try:
    -recompile the objects
    -use the debugger to see where it gives the error.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • gvolkovgvolkov Member Posts: 196
    edited 2007-11-16
    The error is on Bold Underlined line. Any ideas? Complies just fine.
    in codeunit 37003000 - Licensed Employee count Mgt.
    IF MaxCountUsed = -1 THEN BEGIN
      MessageType := MessageType::None;
      EXIT;
    END;
    [b]
    [u]WarnCountUsed := GranWarn[IndexUsed];[/b][/u]
    IF HRSetup.READPERMISSION THEN BEGIN
      IF HRSetup.GET() THEN BEGIN
        IF HRSetup."Licensed Count Warning Amount" <> 0 THEN
          WarnCountUsed := HRSetup."Licensed Count Warning Amount";
      END;
    END;
    
    Microsoft Certified Technology Specialist
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified Business Management Solutions Specialist

    http://www.navisiontech.com
  • krikikriki Member, Moderator Posts: 9,115
    It means that variable "IndexUsed" has not been initialized properly.
    You should check where it is initialized.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • gvolkovgvolkov Member Posts: 196
    problem is that this is the Licensed Employee Count Management Codeunit number 37003000 and cannot be designed i think even with developers license.

    Later on this day:

    i think its a license file issue, since i am not experiencing this error with DEV license. MS can never get the license files right.....argh
    Microsoft Certified Technology Specialist
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified Business Management Solutions Specialist

    http://www.navisiontech.com
  • denisgdenisg Member Posts: 3
    The payroll product in 5.00 is now fully supplied and supported separately from Microsoft by Serenic (www.serenic.com). I know this issue has been corrected in update 1 released recently (Oct 30?), and the support department may also have a separate hotfix. You'll want to contact them and get instructions.

    D
Sign In or Register to comment.