Hi Experts,
I have tried installing Nav 2009 R2 classic option to have multiple clients to connect to a central database in a server machine, but could not get it work. When i install the server and then install the client and tried to connect the client to the server, It gives "TCP/IP error ECONNREFUSED". I have ping the server from the client machine and get replies. I have turned off the firewalls on the server and still get the same error.
Is there anything i need to configure during or after installing the server? Do i have to do some configurations to the client as well? Please can someone help me with the steps i need to take to get this working correctly?
Thanks.
0
Comments
If your intention to run NAV native database server then you need to install NAV Database Server component on the server machine. You need to install it as a service, configure its parameters, including the database file(s) names and locations, and make sure it is up and running before you can connect clients to it. Details can be found in w1w1ism.pdf document which should be somewhere on your installation DVD.
If you use/have used non-default port number while installing NAV database server you may need to add an entry in C:\Windows\System32\drivers\etc\services file on each client machine, listing your selected port number against destination machine name - or alternatively, you can connect by specifying ServerName:PortNumber in the server address box
If you want to run NAV on SQL Server then you need to have a SQL Server installed on your server machine, and use the finsql.exe Client executables.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
NAV 2009R2 comes with 3 types of clients, 2 Classic Clients (one for the native NAV database server, and one for the SQL Server), and with the Role Tailored Client (the RTC). Classic Clients connect directly to the database servers, and the RTC connects to the Service Tier (the NST), which in turn connects to the Microsoft SQL Server.
The NST server must have configured some SQL Server, optionally a SQL Server instance name if the database lives in a named instance, and must have the database name specified. The service account used to run the NST server service must be configured at the SQL Server - a corresponding login must be created, and the db_owner permissions to the target NAV database must be granted.
You can read a bit of the Service Tier prerequisites here - the link describes a never NAV version but most of the things apply.
Why are you trying to install the Service Tier? Are you planning to use the RTC client from NAV2009R2? Any particular reason for doing this?
If you are only installing a demo installation (a Cronus database) to play with, download the latest NAV 2018 version and play with this one. If you were told by your NAV partner to install NAV 2009R2 make sure they meant the RTC client, as, at least in my personal experience, I haven't come across a partner who prepared their solution for NAV 2009R2 RTC.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
The customsetting.config is only used for configuring the service tier (the NST), which in turn is only required when you want to use the RTC
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
You can start the server interactively by typing at the command prompt The SomeServerName must have an entry in the DNS and the name must resolve to the server computer IP address. You can use as a server name the name of the server box, so no additional DNS setup will be required, and clients will be able to connect to the NAV database server referring by the server computername.
NAV database server uses by default port 2407, this port must be enabled at the computer server firewall and allowing incoming connections
Once you are happy with the installation add to the command line a parameter installasservice, so the fully configured database server will be installed as an operatig system service: The last step after this will be to change the service account for newly configured service to be the Network Service account, or a dedicated AD account with a minimum privileges, and setting up automatic service startup
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03