Dynamics NAV Server instance unable to start

//Dynamics NAV Server instance unable to start

Just ran into an annoying issue. The situation is the following: created an additional NAV instance on an application tier with same settings as the DynamicsNAV110 default instance which has worked fine for a while. Attempts to start this new instance result in error:

Message: <ii>ServerInstance ‘MicrosoftDynamicsNavServer$RetailScheduler’ failed to reach status ‘Running’ on this server due to the following error: ‘Cannot start the service.’. Additional information may be in the event log of the server.</ii>

Checked everything everywhere, tried other user accounts, authentications, hotfixes, etc., and yes Google, no information available.

next decided to get into Application and Services Logs


Microsoft – DynamicsNAV – Server – Admin

There i found an entry which looks like this

Server instance: YourNAVInstance
Tenant ID:
Type: Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionNotCreatedException
SuppressMessage: False
ContainsPersonalOrRestrictedInformation: False
DiagnosticsSuppress: False
MessageWithoutPrivateInformation: An encryption key is required to complete the request.
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message: <ii>An encryption key is required to complete the request.</ii>
at Microsoft.Dynamics.Nav.Types.ServerUserSettings.LoadProperties(Object target, ConfigurationSettingsProvider provider)
at Microsoft.Dynamics.Nav.Types.ServerUserSettings.CreateInstance(ConfigurationSettingsProvider settingsProvider, ConcurrentDictionary`2 appSpecificSettings)
at Microsoft.Dynamics.Nav.WindowsServices.DynamicsNavServer.Main(String[] args)
Source: Microsoft.Dynamics.Nav.Types
HResult: -2146233088

This gives another clue that something is wrong with encryption, but after checking Data Encryption settings, it all looks like there is no encryption enabled.

More wasted time goes by on checking codeunits and other possibilities.

then i decide to check if there are any settings in Program Files, note that the Service component of NAV Server is located in C:\Program Files\Microsoft Dynamics NAV\110\Service not in (x86) folder. Anyways, nothing to do in that folder.

Next i went to check out C:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server folder. this is a working folder where server keeps track of instances and other stuff. in that folder each instance will have its folder such as MicrosoftDynamicsNavServer$DynamicsNAV110 and so on, such as  MicrosoftDynamicsNavServer$YourNavInstance.

Well, to my surprise i didnt see my new instance in there so i figured that i will only see it if it starts.

I also found a Keys folder in there C:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\Keys

and inside of it a DynamicsNAV110.key file. Not sure yet what this file does, but i decided to make a copy of this file and rename that copy to be YourNAVInstance.key

and voila, instance started.

hope this helps someone.

yeah, before i decided on this last step, i tried to move that folder from C:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\ and DynamicsNAV110 instance wouldn’t start, so that was what gave me t he idea to make a copy of this file.

If i find anything related to this or what that .key file is for, will let  you all know.

By |2019-01-11T21:23:57+00:00January 11th, 2019|


7244 Kyle Court, Suite 5
Sarasota, FL 34240 USA
T: (941) 914-9144

Who We Are

Navisiontech Inc. is a leading provider of end-to-end integrated, adaptable Business Applications built on a Microsoft Dynamics Platform. Navisiontech is here to help companies drive business and operational excellence through technology.