Invalid (Missing) Record Links Causing Customer Card Page to Crash

MJV
Member Posts: 38
Hi All,
Someone saved a file belonging to a record link in a non-standard directory on our network, which was removed at some point.
Now, any time the customer card is opened for the customer containing that missing link the customer card crashes.
I would just expect it to 1) not display the link, or 2) display the link and you click on it and you get a message saying "Invalid Link". However, NAV is crashing and if I debug in VS 2015 I can trap this message:
Microsoft.Dynamics.Nav.Types.Exceptions.NavInvalidLinkFormatException was unhandled
Message: An unhandled exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.NavInvalidLinkFormatException' occurred in Microsoft.Dynamics.Nav.Client.UI.dll
Additional information: Invalid Link Address
Has anyone encountered this error and found a work-around?
Thanks,
Michael
Someone saved a file belonging to a record link in a non-standard directory on our network, which was removed at some point.
Now, any time the customer card is opened for the customer containing that missing link the customer card crashes.
I would just expect it to 1) not display the link, or 2) display the link and you click on it and you get a message saying "Invalid Link". However, NAV is crashing and if I debug in VS 2015 I can trap this message:
Microsoft.Dynamics.Nav.Types.Exceptions.NavInvalidLinkFormatException was unhandled
Message: An unhandled exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.NavInvalidLinkFormatException' occurred in Microsoft.Dynamics.Nav.Client.UI.dll
Additional information: Invalid Link Address
Has anyone encountered this error and found a work-around?
Thanks,
Michael
0
Best Answer
-
open table record link directly from dev.env.
filter by URL1 = <the invalid file> and/or Description=<the link text> and Type=Link
then remove the record.
you can that also by code.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/5
Answers
-
open table record link directly from dev.env.
filter by URL1 = <the invalid file> and/or Description=<the link text> and Type=Link
then remove the record.
you can that also by code.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/5 -
Thanks so Much!
I didn't know which file name, so I found a link here that showed me how to decode the binary Record ID field and I got it out of there.
Here is the link in case anyone encounters the same error.
https://blogs.msdn.microsoft.com/microsoft_dynamics_nav_sustained_engineering/2009/08/06/how-do-record-links-encode-their-data-in-sql-server/
Michael0
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