Data export failes
kenjes
Member Posts: 76
Hi
NAV 2016
I'm getting a data export error, or accatually NAV is just closing.
In my event log a part of the error is :
"Message: Unable to cast object of type 'System.Decimal' to type 'System.String'."
How do I handle this ...
Thank
NAV 2016
I'm getting a data export error, or accatually NAV is just closing.
In my event log a part of the error is :
"Message: Unable to cast object of type 'System.Decimal' to type 'System.String'."
How do I handle this ...
Thank
0
Answers
-
I got the +- the same error when I did a GET and mixed up the primary key fields. So probably you should check that.
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
This can pretty much be everything. The debugger should bring you on the right track within minutes.Austrian NAV/BC Dev0
-
The problem is that the debugger is not starting, because NAV closes

0 -
Ok,
1.) Filter your Export to one specific Record to hold the sample low
2.) Fill your "OnBeforePassVariable" triggers with some Messages or whatever you can put a breakpoint on
3.) Try debugging again - this should lead you to the field thats going wrong.
If that doesn't help, feel free to pm me the object - I'm interested how this could happen and would like to find out.Austrian NAV/BC Dev0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions