Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV 2017 [DynamicsNAV100] failed to start

Posted on by Microsoft Employee

I am trying to install NAV 2017 for the first time and after 7+ tries of various installation settings and parameters i end up with the installation screen rolling back and no NAV.

My Setup

Machine 1: Windows 2012 R2 Server (VM, will house the NAV Server and Client) + (part of a domain)

Machine 2: Windows 2012 R2 Server (VM, will house the database for NAV) + (MS SQL 2012 Standard) + (part of a domain)

There is no firewall enabled on either machines. I do have hardware firewall that blocks all outside traffic. However, Machine 1 and Machine 2 are completely open to each other.

Steps so Far

  • I have created a new user on the domain controller to be used as the service account
  • permitted this user (domain\navsvc) in the local policy of machine 1 and machine 2 to log on as service
  • Restored the database from the installation files on machine 2 
  • granted access to Nav2017 db for user "domain\navsvc" as db_owner
  • Started the install

Installation options

  • Run setup file (as administrator) (agreed to all terms and conditions)
  • Selected the Custom option
  • Selected Client (Plus Development Environment C/Side), Administration Tool, and Server
  • Changed the Destination folders from C drive to D drive (more free space) for both x86 and normal 
  • Server Name: localhost
  • Service Name: DynamicsNAV100
  • Service Account: domain\navsvc
  • Service Account password: <passsword>
  • Management Services Port: 7045
  • Add Management Services Rule to Firewall: No
  • Client Services Port: 7046
  • SOAP Services Port: 7047
  • SOAP Services Enabled: No (i have tried it with yes as well)
  • OData Services Port: 7048
  • OData Services Enabled: No (i have tried it with yes as well)
  • Add rule to Firewall: No (i have tried it with yes as well)
  • Credential Type : Windows ( i have tried with Microsoft Dynamics NAV User Password as well -- although i dont know what is the difference)
  • DNS identity: blank
  • Access Control Service URI: blank
  • SQL Server : <Server IP Address> (i have tried it with the server name as well)
  • SQL Server Instance: blank
  • SQL Database: Nav2017
  • OData Web Services Base URL: blank
  • SOAP Web Services Base URL: blank
  • Web Client Base URL: blank
  • Windows Client Base URL: blank
  • Help Server: <local machine name>
  • Help Server port: 49000

Then hit apply and the installation starts. 10 min later i see all the two check marks against the Client and Administration and the Server component still being installed. However, before the installation finishes i see it all rolling back and i get this error

Error

The service "Microsoft dynamics nav server [DynamicsNAV100]' (MicrosoftDynamicsNavServer$DynamicsNAV100) failed to start. This can be caused by one of serveral issues. For example, the password for the account that runs the service may be incorrect, or there could be a conflict in port sharing for the port settings for the service, or you have specified that the port for the server should be opened in the windows firewall even though the windows firewall is not enabled on the computer. for more information see the event viewer

I have gone through the event viewer and it tells me nothing. I am stuck and need some help

Thank you in advance

Ali.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    Thanks for the tips here is what i did

    On Machine 2 (DB Server)

    • Checked in the SQL Server management studio and found that the user "navsvc" did not have the sysadmin rights. I went ahead and granted that. 
    • The user already had the db_owner rights but i couldn't find any right labeled "dbadmin" in there. Is this the same as db_owner or does it reside anywhere else.

    On Machine 1 (NAV Server and Client)

    • Opened the database in development environment but the user was still unable to connect.
    • Then i tried the SQL administrator "sa" credentials and they worked perfectly and a no errors happen (keep in mind that all this is still happening in the NAV development Interface).
    • I then went into the NAV administration interface and update the database credential in there.
    • Restarted the NAV service
    • At this point i tried to start NAV and got a new error as follows

    "There is a communication protocol mismatch between the client and the server".

    so i guess this is a few steps closer to working but still stuck somewhere.

    Thank you for any suggestions

  • d.larisch Profile Picture
    d.larisch on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    Nice to hear that u have some progress going on here, the installation can be a pain sometimes.

    My Ideas:

    1. Did u granted your new user sysadmin permission on the sql-server and dbadmin on the database "Nav2017" in sql server management studio

    - to check this --> try to open the database in development enviroment and check if u can acces the database with your new user, because you dont need a service for that...

    2. If you can access the database with ur administration windows account, then you can try to add this account as startup user for your service  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    i had some progress doing these steps

    • Created a new local user on Machine 1
    • Gave it permissions to log in as service
    • used this account during installation 

    Viola!!! no rollback

    I was able to install

    • The client with development sub section.
    • Administration
    • Server

    As soon as i open the client a log in window pops up (even though i did not select any credentials during installation) i tried the local admin credentials as well as the local user account that i used as the service account. The application did not start, but i got the following error.  

    "The program could not create a connection to the server. Do you want to try again?"

    the options under this error were "yes" and "no" i tried yes several times and the box kept coming back. Upon selecting No a new box opens up

    =============================================

    Current Connection

    You are not currently connected to a server.

    Change Connection

    Server Address: localhost:7046/DynamicsNAV100

    Available Companies: <Blank box with nothing in there>

    =============================================

    Then i opened up the Event Viewer>Windows Logs>Application. There i found many informational items but one error item 

    Log Name: Application
    Source: MicrosoftDynamicsNavServer$DynamicsNAV100
    Date: 6/2/2017 11:17:23 AM
    Event ID: 227
    Task Category: (12)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: 859568-CTSAPP02.CTS.com
    Description:
    Server instance: DynamicsNAV100
    <ii>Cannot establish a connection to the SQL Server/Database. 

    This could be due to one of the following reasons:

    * SQL Server is not started.
    * The database does not exist.
    * Proper permissions have not been given to the NAV Server Account.

    Try again later or contact your system administrator.</ii>
    Event Xml:
    <Event xmlns="schemas.microsoft.com/.../event">
    <System>
    <Provider Name="MicrosoftDynamicsNavServer$DynamicsNAV100" />
    <EventID Qualifiers="0">227</EventID>
    <Level>2</Level>
    <Task>12</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-06-02T15:17:23.000000000Z" />
    <EventRecordID>6637</EventRecordID>
    <Channel>Application</Channel>
    <Computer>859568-CTSAPP02.CTS.com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Server instance: DynamicsNAV100
    &lt;ii&gt;Cannot establish a connection to the SQL Server/Database. 

    This could be due to one of the following reasons:

    * SQL Server is not started.
    * The database does not exist.
    * Proper permissions have not been given to the NAV Server Account.

    Try again later or contact your system administrator.&lt;/ii&gt;</Data>
    </EventData>
    </Event>

    This made me think that the NAV application on Machine 1 is unable to connect to Machine 2 (The database). I was able to get into the Nav administration and changed the username and password from the local account to the domain account (that i had previously given permission as db_owner on Machine 2). But this change made NAV crash totally. so i had to reverse the changes. 

    i don't know how to give the local user on machine 1 enough access on machine 2 to resolve this issue.

    Any suggestions?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    So when i tried to run the installation again i noticed that Service Account is a required field. so leaving the fields blank is not an option for me.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    Does this mean that i need to create local users on both machines or just one. If one, then which one do i create  the local user on?

    thanks

  • RE: NAV 2017 [DynamicsNAV100] failed to start

    Try to install the servicetier without using a domain user - just leave the fields blank.

    It that also fails, then go and check the eventlog/eventviewer.

    If it works, then start services.msc and change the user to your domain\navsvc on the DynamicsNAV100 servicetier. You should get a fine error in the eventlog/viewer if it still doesn't work.

    Thanks

    PalleA

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV 2017 [DynamicsNAV100] failed to start

    Oh and just to verify that the DB traffic is open i was able to create a system DSN on Machine 1 and connect to the demo database on machine 2 with a successful connection test.

    any suggestions would help, thanks in advance

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans