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
0
Answers
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.
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
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/
Michael