unable to start instance in NAV 2013

hi experts,

need some i installed NAV 2013 on my personal system… by default login made is window authentication.

but i want to USER & Password basis… so made changes in config. file like windows to navuserpassword and in instance credential is same. i gave the thumbprint value but while starting instance i am getting this error in event log,

Log Name: Application
Source: MicrosoftDynamicsNAVServer
Date: 07-Feb-13 2:36:11 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Mind-PC
Description:
Server instance: DynamicsNAV70
Session type: UnknownClient
Session ID: 0
The service MicrosoftDynamicsNavServer$DynamicsNAV70 failed to start. This could be caused by a configuration error. Detailed error information:System.ArgumentException: It is likely that certificate ‘CN=NavServiceCert’ may not have a private key that is capable of key exchange or the process may not have access rights for the private key. Please see inner exception for detail.
at System.ServiceModel.Security.SecurityUtils.EnsureCertificateCanDoKeyExchange(X509Certificate2 certificate)
at System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.CreateLocalSecurityTokenProvider(RecipientServiceModelSecurityTokenRequirement recipientRequirement)
at System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement requirement)
at System.ServiceModel.Channels.SslStreamSecurityUpgradeProvider.CreateServerProvider(SslStreamSecurityBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.SslStreamSecurityBindingElement.BuildServerStreamUpgradeProvider(BindingContext context)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener…ctor(ConnectionOrientedTransportBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.TcpChannelListener…ctor(TcpTransportBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.TcpTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.SessionChannelDemuxer2..ctor(BindingContext context, TimeSpan peekTimeout, Int32 maxPendingSessions) at System.ServiceModel.Channels.ChannelDemuxer.CreateTypedDemuxer(Type channelType, BindingContext context) at System.ServiceModel.Channels.ChannelDemuxer.GetTypedDemuxer(Type channelType, BindingContext context) at System.ServiceModel.Channels.ChannelDemuxer.BuildChannelListener[TChannel](BindingContext context, ChannelDemuxerFilter filter) at System.ServiceModel.Channels.ChannelBuilder.BuildChannelListener[TChannel]() at System.ServiceModel.Channels.ChannelBuilder.BuildChannelListener[TChannel](MessageFilter filter, Int32 priority) at System.ServiceModel.Security.SecuritySessionServerSettings.CreateInnerChannelListener() at System.ServiceModel.Channels.SecurityChannelListener1.InitializeListener(ChannelBuilder channelBuilder)
at System.ServiceModel.Channels.TransportSecurityBindingElement.BuildChannelListenerCore[TChannel](BindingContext context)
at System.ServiceModel.Channels.SecurityBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.ReliableChannelListener3..ctor(ReliableSessionBindingElement binding, BindingContext context) at System.ServiceModel.Channels.ReliableListenerOverDuplexSession2…ctor(ReliableSessionBindingElement binding, BindingContext context)
at System.ServiceModel.Channels.ReliableSessionBindingElement.BuildChannelListener[TChannel](BindingContext context)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.StartWcfServices()
at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.OnStart(String[] args).
Event Xml:
schemas.microsoft.com/.../event">](http://schemas.microsoft.com/win/2004/08/events/event)


0
2
0
0x80000000000000

54201
Application
Mindshell-PC



Server instance: DynamicsNAV70
Session type: UnknownClient
Session ID: 0
The service MicrosoftDynamicsNavServer$DynamicsNAV70 failed to start. This could be caused by a configuration error. Detailed error information:System.ArgumentException: It is likely that certificate ‘CN=NavServiceCert’ may not have a private key that is capable of key exchange or the process may not have access rights for the private key. Please see inner exception for detail.
at System.ServiceModel.Security.SecurityUtils.EnsureCertificateCanDoKeyExchange(X509Certificate2 certificate)
at System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.CreateLocalSecurityTokenProvider(RecipientServiceModelSecurityTokenRequirement recipientRequirement)
at System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.CreateSecurityTokenProvider(SecurityTokenRequirement requirement)
at System.ServiceModel.Channels.SslStreamSecurityUpgradeProvider.CreateServerProvider(SslStreamSecurityBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.SslStreamSecurityBindingElement.BuildServerStreamUpgradeProvider(BindingContext context)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener…ctor(ConnectionOrientedTransportBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.TcpChannelListener…ctor(TcpTransportBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.TcpTransportBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.SessionChannelDemuxer2..ctor(BindingContext context, TimeSpan peekTimeout, Int32 maxPendingSessions) at System.ServiceModel.Channels.ChannelDemuxer.CreateTypedDemuxer(Type channelType, BindingContext context) at System.ServiceModel.Channels.ChannelDemuxer.GetTypedDemuxer(Type channelType, BindingContext context) at System.ServiceModel.Channels.ChannelDemuxer.BuildChannelListener[TChannel](BindingContext context, ChannelDemuxerFilter filter) at System.ServiceModel.Channels.ChannelBuilder.BuildChannelListener[TChannel]() at System.ServiceModel.Channels.ChannelBuilder.BuildChannelListener[TChannel](MessageFilter filter, Int32 priority) at System.ServiceModel.Security.SecuritySessionServerSettings.CreateInnerChannelListener() at System.ServiceModel.Channels.SecurityChannelListener1.InitializeListener(ChannelBuilder channelBuilder)
at System.ServiceModel.Channels.TransportSecurityBindingElement.BuildChannelListenerCore[TChannel](BindingContext context)
at System.ServiceModel.Channels.SecurityBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.ReliableChannelListener3..ctor(ReliableSessionBindingElement binding, BindingContext context) at System.ServiceModel.Channels.ReliableListenerOverDuplexSession2…ctor(ReliableSessionBindingElement binding, BindingContext context)
at System.ServiceModel.Channels.ReliableSessionBindingElement.BuildChannelListener[TChannel](BindingContext context)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingBindingElement.BuildChannelListener[TChannel](BindingContext context)
at System.ServiceModel.Channels.Binding.BuildChannelListener[TChannel](Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
at System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession)
at System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result)
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.StartWcfServices()
at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.OnStart(String[] args).

not getting what to do?

Thanx & Regards

Manish

Best way Go to Shortcut of Application or from programs ,Put you cursor on the NAV 2013 application and Press CTRL+SHIFT+Right Click and select Run as Different user. Here you can enter Username and Password for different user.

I do have the same problem as manish kumar.

Does any one knows a solution for this.

why cant we restart the server instence with navuserpassword credentionals ?

You need to configure the certificates which is mentioned in error history also.

here is the link

http://msdn.microsoft.com/en-us/library/jj551778(v=nav.70).aspx

Implementiin Security Certificates Section.

Or follow this blog

http://saurav-nav.blogspot.in/2012/12/nav-2013-credential-type-how-to-use.html

I just did as this

http://msdn.microsoft.com/en-us/library/gg502478(v=nav.70).aspx

but I cant restart the instance.

The same above error comes.

Did you look at the blog?

It was clearly mentioned step by step and working fine…

Hi all,

I’m having the same troubles.

I did follow the blog step by step and to the letter.

I did grant the appropriate access for the Network Service.

Please can anyone advise a solution to this problem?

Regards

/TorbenC

Hi Torben

Y did u need to restart the instance.

I mean what changes you made in instance.

Regards

Manish

Dear All,

The reason is one of below:

  1. Certificates error: re-setup as Ms Mohana mentioned links (Microsoft or Saurav) or you can try certificates at my common share https://skydrive.live.com/?cid=1322D544FED91559&id=1322D544FED91559%21107

  2. Certificates cache issue: there is a command to clear the cache. You can find it in my Implement Security Certificates troubleshoot number 2.

Best regards,

4BzSoftware.

Dear All,

The reason is one of below:

  1. Certificates error: re-setup as Ms Mohana mentioned links (Microsoft or Saurav) or you can try certificates at my common share https://skydrive.live.com/?cid=1322D544FED91559&id=1322D544FED91559%21107

  2. Certificates cache issue: there is a command to clear the cache. You can find it in my Implement Security Certificates troubleshoot number 2.

Best regards,

4BzSoftware.