MyRapidi
MyRapidi

Search our Wiki

NAS Connector

Navision Application Server (NAS) Connector

If you need to run C/AL code when you transfer data to/from MS Dynamics NAV, you can use the NAS Connector.

We recommend that you use the MS Dynamics NAV Connector (based on C/Front) for most purposes and only use the NAS Connector for the few cases where you really need to run C/AL code. The NAS Connector is then usually used in addition to the MS Dynamics NAV Connector.

Installing NAS Connector

  • For Rapidi to transfer data to/from your local Navision system, you need to download and install an AutomationServer dll on the computer that should run the link to Navision (would normally be the NAS Server but could be a workstation for test purposes) and additionally, you need to import a few codeunits into your Navision.
  • The Connector must be configured with parameters (as provided in Rapidi Configure tab for NAS Connector) specific to your service. Please contact our support to get the parameters.
  • When started, the Connector will connect to our central service and keep that connection open. The connection will then be used to transfer data between your local databases and your other systems.

***Please Note that the Navision objects that we supply are compatible with MS Dynamics NAV 3.70 or later - you should be able to import these codeunits in MS Dynamics NAV 4.0, 5.0, or 2009 without modifications.

  • In the Rapidi Configuration application - MyRapidi, go to the Connections page, choose NAS Connector from the drop-down menu, and click 'New Connection'. Your NAS Connector Connection card that you just created will automatically unfold allowing you to customize the description. Per default, Rapidi will automatically create the Code (which cannot be edited) and the Description (can be edited but is mandatory).
  • To get the NAS connector running under NAS follow these steps:
    •  Please follow these steps:
      1. Get the Connector pack zip file (please ask our Support to supply this file).
      2. Unpack the zip file to some temporary directory.
      3. Copy the dbconn.dll file to the windows system32 directory (on the NAS Server).
      4. Run "regsvr.exe dbconn.dll" to register the Connector in windows.
      5. Import the object file (DB_BO10x.fob) into MS Dynamics NAV.
      6. Locate codeunit 64020 and edit it:
        • enter the details listed below (RapidiServiceId, UserID and Password) in the variables on top of the codeunit. Below screen shot shows an example:
        • {{nas parameter|size:full}}
        • Instead of setting conn.RapidiServiceId, you can also set: conn.Host := '207.210.123.xxx';  conn.Port := 6xxx;   Please find the correct Server IP (Host) and Port number to use for your Rapidi service in MyRapidi on the connection.
      7. Now run codeunit 64020.
      8. Check that the NAS Connector is connected (see the Dashboard page)
  • To get the NAS connector running under NAS follow these steps:
    • Once completed the step 1 to 6 explained above, then:
    • Edit codeunit 1 to setup NAS to run codeunit 64020 at startup.
    • Start NAS and ensure that the NAS Connector is connected.

Configuration

The field of the NAS Connector Connection Card is described as follows:

  • Description: Enter a text describing the Connection.

Please note: If you don't have a NAS Connector created if you already have a NAS Connector created / or you surpass your limits on the number of (NAS) connections you are allowed according to your subscription it will show an error message that you already have the number of allowed connections created, please contact sales for an upgrade of your subscription. 

Copy, Test, Activate Changes and Read Design

show informationhide information
Copy Connection

show informationhide information
Connection Test

show informationhide information
Activate Changes

show informationhide information
Read Design