Error install NAV2013 R2

Hello,

I need to setup NAV2013 R2 on a win7 PC for development (no domain / no active directory) - I’m in France so sorry some error mesages are in french

I get the following error when trying to connect RTC :

Un serveur est introuvable dans “net.tcp://nav2013r2srv:7046/DynamicsNAV71/Service”. L’URL est
incorrecte ou le serveur n’est pas disponible pour l’instant.

I installed first SQL Server 2012 to create instance NAV2013R2 and the service “SQL Server (NAV2013R2)” is running.

Then I installed NAV2013 R2 (I had to install and uninstall more then once because I had some corrections to do) - but the last install worked without error.

I installed the following components :

  • Client (with development environment)
  • Administration Tool
  • Server
  • SQL Server component (with demo database)

I have no problem to connect to the development environment.

Adminitration Tool shows the Dynamics NAV Server Instance Running

I’m using my own user as service account for SQL and NAV2013R2 services - as the services are running I dont think that the problem comes from this side.

In Application messages I have no errors - just 4 warnings - concerning the 4 ports - heres the message for port 7045 :

Server instance: DynamicsNAV71
The service could not add service principal names because the service account could not be found in Active Directory.
Account: …
Service principal names:
DynamicsNAV/Terre:7045
DynamicsNAV/Terre:7045

Please help for get this work - Thanks !

If you use your own account, then it needs to be setup to run like a service in the AD. No matter if you run it locally or not.

Try running it with the networkservice account instead.

Gustav wrote this reply (I had to delete his post as it somehow gave errors when showing):

I already tried - and now tried again to provide you the error in the log :

Windows Installer: Error: Service ‘Microsoft Dynamics NAV Server [DynamicsNAV71]’ (MicrosoftDynamicsNavServer$DynamicsNAV71) failed to start. Verify that you have sufficient privileges to start system services.

Done configuring package. Id = ‘ServiceTier_FR’ ReturnCode = 1603

SUCCESS: Package Composants d’installation Microsoft Dynamics NAV executed sucessfully.

SUCCESS: Package Microsoft System CLR Types pour SQL Server 2012 executed sucessfully.

SUCCESS: Package Composants client Microsoft Dynamics NAV executed sucessfully.

SUCCESS: Package Base de données test Cronus pour Microsoft Dynamics NAV executed sucessfully.

SUCCESS: Package Composants serveur Microsoft Dynamics NAV executed sucessfully.

SUCCESS: Package Module Langue (fr-FR) pour le client Windows Microsoft Dynamics NAV executed sucessfully.

ERROR: Package Module Langue (fr-FR) pour Microsoft Dynamics NAV Server failed with error. See detailed message above.

=== Logging stopped: 2015/10/19 20:00:35 ===

Have seen that issue with the language modules not installing correctly.

Did you remember to say “Run as administrator” when you installed?

You said that you tried the networkservice account. Did you also remember to assign permissions to the NAV folders and the database?

Yes I run as admin

I verified again with secpol.msc - service reseau has the right to run service !

I also added service reseau to the adminitrator group to see if this changes something - nothing !

I saw this post : http://dynamicsuser.net/forums/p/74149/395993.aspx

  • ok its win8 in this post but it seems to be the same issue :

In fact here’s the solution:
Create a new rule to the port 8080.
Install Navision.
Then go to Services(local) (services.msc) find Microsoft Dynamics NAV Server[DynamicsNAV71], change the properties of this service: do not open as default NT Authority but set into your Windows account and it should look like: .\UserName
And finally start the service
Launch your application.
And it works! I can see my Navision Iterface! Finally!

Why did this not work for me ?

It is said too in this post the following :

I confirm the error 3095 is related to workgroup: if the user chosen as service account is in a Windows workgroup (and not AD Domain) this prevents to run the NetLogon Service, which is a mandatory dependancy for Microsoft Dynamics 2013 R2 Windows service, and causes the installation problem you faced.

All this is full of contradiction - I would be grateful for any help !

Yes I run as admin

I verified again with secpol.msc - service reseau has the right to run service !

I added service reseau to the adminitrator group to see if this changes something - nothing !

I saw this post - ok its win8 in this post but it seems to be the same issue :

In fact here’s the solution:
Create a new rule to the port 8080.
Install Navision.
Then go to Services(local) (services.msc) find Microsoft Dynamics NAV Server[DynamicsNAV71], change the properties of this service: do not open as default NT Authority but set into your Windows account and it should look like: .\UserName
And finally start the service
Launch your application.
And it works! I can see my Navision Iterface! Finally!

Why did this not work for me ?

It is said too in this post the following :

I confirm the error 3095 is related to workgroup: if the user chosen as service account is in a Windows workgroup (and not AD Domain) this prevents to run the NetLogon Service, which is a mandatory dependancy for Microsoft Dynamics 2013 R2 Windows service, and causes the installation problem you faced.

All this is full of contradiction - I would be grateful for any help !

Very strange that it happens to you. I have never had any problems at all, when installing it locally!

Did you try to install the “Demo option”? This normally configures everything correctly. But whereas if you select the individual installation options, then you must manually enter all configurations?

PS: Gustav: I found what caused the error to your post before. Somehow you account was set to hide posts from all other members, which causes any posts by you to be inaccessible. I have changed that back again. So if it was you who changed it, then you know why it’s changed back. :slight_smile:

Even demo does not install - same error !

As for the post error you mention I don’t know what you mean exactly but I’m glad you solved it :slight_smile:

I solved it myself by running it as an administrator (not just running it using an admin account - but right click and select “Run as administrator”).

Hi all,

With Release of NAV 2013 R2 the F1 Help have been also changed drastically.

Help server provide help to both client i.e RTC as well as the Web client. Till NAV 2013 we don’t have any help on web client.

Earlier we used to have .chm files for Help but now its a web site that has been published on your server.

Ok - I can’t find a solution in win7

So I try on a virtual OS - sql server 2012 r2

I created a servcie account in ad

But install of nav2013r2 shows me the folowing fatal error :

Composants de base de données SQL Server
Base de données test Cronus pour Microsoft Dynamics NAV
Erreur irrécupérable lors de l’installation.
Le principal de serveur ‘AD2012\Administrateur’ existe déjà.

Here’s what <i find in log :

Windows Installer: Error: Error -2147217900: failed to execute SQL string, error detail: Le principal de serveur ‘AD2012\Administrateur’ existe déjà., SQL key: CreateLogin SQL string: DECLARE @CreateLogin sysname, @AddRole sysname, @CreateUser sysname, @GrantServer sysname, @GrantSelect sysname

SET @CreateLogin = ‘CREATE LOGIN [’+ SYSTEM_USER + ‘] FROM WINDOWS’

SET @AddRole = ‘sp_addsrvrolemember [’ + SYSTEM_USER + ‘], securityadmin’

SET @CreateUser = ‘CREATE USER [’+ SYSTEM_USER + ‘] FOR LOGIN [’+ SYSTEM_USER + ‘]’

SET @GrantServer = ‘GRANT VIEW SERVER STATE TO [’+ SYSTEM_USER + ‘]’

SET @GrantSelect = ‘GRANT SELECT ON sysprocesses TO [’+ SYSTEM_USER + ‘]’

IF NOT EXISTS (SELECT * FROM [master].[sys].[syslogins] WHERE name = SYSTEM_USER AND isntname = 1)

BEGIN

EXEC ( @CreateLogin )

EXEC ( @AddRole )

END

IF NOT EXISTS (

SELECT SU.name FROM [master].[dbo].[sysusers] SU

JOIN [master].[dbo].[syslogins] SL ON SU.sid = SL.sid

WHERE UPPER(SL.name) = UPPER(SYSTEM_USER) )

BEGIN

EXEC ( @CreateUser )

END

EXEC ( @GrantServer )

EXEC ( @GrantSelect )

Now what does this mean ?

Ok - I can’t find a solution in win7

So I try on a virtual OS - sql server 2012 r2

I created a servcie account in ad

But install of nav2013r2 shows me the folowing fatal error :

Composants de base de données SQL Server
Base de données test Cronus pour Microsoft Dynamics NAV
Erreur irrécupérable lors de l’installation.
Le principal de serveur ‘AD2012\Administrateur’ existe déjà.

Here’s what <i find in log :

Windows Installer: Error: Error -2147217900: failed to execute SQL string, error detail: Le principal de serveur ‘AD2012\Administrateur’ existe déjà., SQL key: CreateLogin SQL string: DECLARE @CreateLogin sysname, @AddRole sysname, @CreateUser sysname, @GrantServer sysname, @GrantSelect sysname

SET @CreateLogin = ‘CREATE LOGIN [’+ SYSTEM_USER + ‘] FROM WINDOWS’

SET @AddRole = ‘sp_addsrvrolemember [’ + SYSTEM_USER + ‘], securityadmin’

SET @CreateUser = ‘CREATE USER [’+ SYSTEM_USER + ‘] FOR LOGIN [’+ SYSTEM_USER + ‘]’

SET @GrantServer = ‘GRANT VIEW SERVER STATE TO [’+ SYSTEM_USER + ‘]’

SET @GrantSelect = ‘GRANT SELECT ON sysprocesses TO [’+ SYSTEM_USER + ‘]’

IF NOT EXISTS (SELECT * FROM [master].[sys].[syslogins] WHERE name = SYSTEM_USER AND isntname = 1)

BEGIN

EXEC ( @CreateLogin )

EXEC ( @AddRole )

END

IF NOT EXISTS (

SELECT SU.name FROM [master].[dbo].[sysusers] SU

JOIN [master].[dbo].[syslogins] SL ON SU.sid = SL.sid

WHERE UPPER(SL.name) = UPPER(SYSTEM_USER) )

BEGIN

EXEC ( @CreateUser )

END

EXEC ( @GrantServer )

EXEC ( @GrantSelect )

Now what does this mean ?