Not able to create new Nav Server Service

nav_126nav_126 Member Posts: 77
edited 2010-02-17 in NAV Three Tier
Hi All,

I am using following command to create new service for Microsoft Dynamics NAV Server as explained in walkthrough.

sc \\sql2k5 create MicrosoftDynamicsNAVServer$NAV2 binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service2\Microsoft.Dynamics.Nav.Server.exe $NAV2" DisplayName= "Microsoft Dynamics NAV Server Instance 2" start= auto type= own depend= NetTcpPortSharing

sql2k5 is my server machine name. I have already created Service2 folder as explained.

when I run this command, the command prompt shows
DESCRIPTION:
Creates a service entry in the registry and Service Database.
USAGE:
sc <server> create [service name] [binPath= ] <option1> <option2>...

OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec>
(default = own)
start= <boot|system|auto|demand|disabled>
(default = demand)
error= <normal|severe|critical|ignore>
(default = normal)
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
(default = LocalSystem)
DisplayName= <display name>
password= <password>


Do am I missing something? Please help

Regards
Navision Developer

Comments

  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    have you tried without the \\
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • manisharma31manisharma31 Member Posts: 285
    Hi,
    Have you followed the Prerequisites of the walkthrough.
    Regards,
    Manish
Sign In or Register to comment.