W
If you happen to run into and error message similar to the one shown below there may be something you can do yourself to fix it.
Cannot load an instance of the following .NET Framework object: assembly ForNav.Reports, Version=1.3.0.0, Culture=neutral, PublicKeyToken=5284c1af2984feb0.
What does it mean?
It means that either the NAV Service Tier or the NAV Client cannot load the ForNAV add-in in the correct version. The most common reason for this is that the NAV client hasn’t cleaned out the add-in cache it uses when it receives add-in DLLs from the service tier. Since NAV 2015 the service tier can send a DLL from the server to the client if the client doesn’t already have it. This sometimes fails to update old DLL files on the server because the client doesn’t handle this very well on its own. You may need the help it a little by manually deleting the files.
Clearing the cache
You can reset the add-in cache by deleting the temporary files for the client. Each Windows user has a separate cache folder located under the folder for temporary files. Locate the cache by entering the following in the address line of the file explorer:
%TEMP%\Microsoft Dynamics NAV\Add-Ins
This will take you to the folder where the cached files are located.
You clear the cache by deleting the content of this folder.
Other reasons for this error
You can also get this error if you simply forgot to install this version of the DLL on the service tier or you forgot to restart the service tier service after you installed the DLL. If you have several service tiers that you can connect to then you have to make sure the same version of the DLL is on all the service tiers.
Indlægget Cannot load an instance of the following .NET Framework object blev vist første gang den ForNAV.