Conversion of text[50] to text[50] failed...?
Charleh
Member Posts: 44
A client of ours is trying to open the Req Worksheet in RTC for 2009R2. They get an error that a string length cannot be greater than 30. I open the same form in NAV and whilst it does open, clicking on one of the lines (there are only 2 present) results in an overflow converting a text[50] to a text[50].
I'm a bit stumped to be honest as I don't do much 2009R2 - I've not tried a service tier restart or anything of that nature as the client is working on their system at the moment, but they can't use the req worksheet at the moment! I've checked the source and target of the expression and they are both definitely text[50]. One string is actually 43 characters but assigning it to the variable throws this error. The only thing I can think is that somehow something is out of sync with the metadata table
Has anyone had a similar experience?
I'm a bit stumped to be honest as I don't do much 2009R2 - I've not tried a service tier restart or anything of that nature as the client is working on their system at the moment, but they can't use the req worksheet at the moment! I've checked the source and target of the expression and they are both definitely text[50]. One string is actually 43 characters but assigning it to the variable throws this error. The only thing I can think is that somehow something is out of sync with the metadata table
Has anyone had a similar experience?
Charleh
0
Comments
-
I've deleted the lines in the worksheet for now - there were only two. I'm asking the client to reinput the lines
We will probably get the same error but fingers crossed!Charleh0 -
Hi Charleh,
Did you debug on RTC/Classic? I assume error is come from "Description 2".
Regards,
YukonMake Simple & Easy0 -
Yeah open in RTC and it errors as the form opens with a string overflow
Open in classic and it errors when you click on a row
It errors in CodeUnit 330 on a line of code that says:
Description := Item.Description;
Both fields are Text[50] - though I'm going to triple check now. Deleting the lines didn't help, I'm going to recompile a few objects to see if I can get it going. Worst case I will just restart the service tier.Charleh0 -
Hi,
try check if item description contains nonprintable characters. This can be caused by copying from Excel or other application. These characters can exceed overal length of string over 50 characters.0
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