NAV Service & Net.tcp Port Sharcing Service Conflict

DaveN_JustFoodERPDaveN_JustFoodERP Member Posts: 3
edited 2013-07-11 in NAV Three Tier
Hello folks,

When the Net.Tcp Port Sharing Service is running the Microsoft Dynamcis NAV Server Service cannot be started. This is the error that comes up when I attempt to start the NAV service:

"The Microsoft Dynamics NAV Server service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."

However, if I stop the Net.Tcp Port Sharing Service, the NAV service starts without any issues. It would be great if someone could explain why the two services conflict and what is the fix for this issue without stopping the Net.Tcp Port Service. This is a single Service Tier install so the Net.Tcp Port Sharing Service is not even utilized by NAV so I am not sure why it conflicts with the NAV service. Maybe the default NAV Port 7046 is utilized by something, I don't know...

The NAV version is 2009 R2.

Thanks!
David

Comments

  • DaveN_JustFoodERPDaveN_JustFoodERP Member Posts: 3
    Nothing! No one has hit this issue?
  • sergeyolsergeyol Member Posts: 1
    Dynamics NAV Server is able to use port sharing to setup several servers listening on the same port. When service starts, it seems to detect whether Net.Tcp Port Sharing Service is running. If so, Dynamic NAV Server interacts with this service to enable port sharing.

    In order to use port sharing, Dynamics NAV Server user account must be granted additional permissions. Necessary configuration steps are described here:
    http://teachmenav.com/blogs/dave/archiv ... stops.aspx
  • PoltergeistPoltergeist Member Posts: 200
    My experiences are that de NAV server does not detect if the NetTcpPortSharing service is running. If I install two or more services, start the NetTcpPortSharing service, and start the services, a conflict still occurs. The NAV services have to be adapted so that they depend on the NetTcpPortSharing services. This can easily be done by starting the command prompt elevated, and typing the command

    sc config <servicename> depend= NetTcpPortSharing (for 2009). For 2013 I use sc config <servicename> depend= NetTcpPortSharing/HTTP.

    There is no need to alter rights or anything...
Sign In or Register to comment.