Author: jr

Cannot create an instance of the following .NET Framework object

If you see an error message where the NAV server or client cannot create an instance of the object, then you may have a security problem. This problem is not the same as when it cannot load the object. When NAV loads the add-in it only needs read access to the DLL file. However, when

Continue Reading

Client add-in cache

Since Dynamics NAV version 2015 the server can send add-ins to the Role Tailored Client when they are needed on the client. This is a great feature, which helps add-in developers deploy the solution without much effort from the developer or the end user. However, this automatic deployment does not send updated DLL files to

Continue Reading

No printer installed

If you get a message telling you that no printers are installed, then it is most likely a permission issue. When you preview reports or save them as PDF the reports are run on the service tier. The service tier is configured to run in a specific user context. If this user does not have

Continue Reading

DLL Version Problems

Reports ForNAV uses the add-in feature on Microsoft Dynamics NAV. This feature enables you to add functionality to your NAV installation via DLL files. The add-in feature in NAV supports DLL files on both the client and the server. Since NAV 2015 the server can automatically send required DLL files from the server to the

Continue Reading

A call to ForNav.Report.MethodName failed

After upgrading the ForNAV DLL, you may run into an error message similar to this one: A call to ForNav.Report.[method name] failed with this message: The type of one or more arguments does not match the method’s parameter type. The best way to resolve this type of error is to follow the steps described in

Continue Reading

Saving reports in the designer

The designer has three different ways of saving your layout changes. Save Custom Layout in NAV You can use this option if you launched the designer when running a custom layout. This will only save the layout to the NAV database for the current report. None of the dataitems or the report code will be

Continue Reading

License installation

A ForNAV license comes in the form of an MSI package. This package is digitally signed by ForNAV. The license is installed on the NAV service tier. You install it just like any other program. When the MSI package is run, the Windows Installer will add the license to the computer’s registry. This is where

Continue Reading

Troubleshooting Excel Export (before version 4.0.0.1613)

If you are on version 4.0.0.1613 or newer, you should look here: Troubleshooting Excel export This article outlines what you can do to collect information about debugging. When you get an error during export to Excel, you can collect a temporary file that will help our developers determine the reason behind the error. The temporary

Continue Reading

Image controls

The image controls in reports have a reference to an image file. In classic the reports are processed on the client computer and therefore the file path must point to a file on the local computer. With ForNAV the report is run on the server. This change means that the image file must be on

Continue Reading

Table definitions and the designer

When the designer saves a report, it needs access to table information from the NAV database where the report object is stored. It will use either the OData web service or a text file containing all the exported tables from NAV. The designer can read information about where to get this information in two different

Continue Reading