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

gvolkov
Member Posts: 196
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
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com
0
Comments
-
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!0 -
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.com0 -
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!0 -
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.....arghMicrosoft Certified Technology Specialist
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com0 -
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.
D0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions