Error when starting NAV and NAV Web Services

typerstu
Member Posts: 6
I've recently created 3 NAV Server services and 3 Web services through using the SC command for a customer, and I've entered the account details into the "Log On" tab for each service, but when I go to start up the service is gives me the following error: Windows could not start the Microsoft Dynamics NAV Server LIVE service on the local computer. Error 2: The system cannot find the file specified.
I've looked everywhere, but can't find a definitive answer anywhere.
Any help will be appreciated.
Thanks.
I've looked everywhere, but can't find a definitive answer anywhere.
Any help will be appreciated.
Thanks.
0
Comments
-
What is written in the event viewer?0
-
Exactly the same message. It does give you an Event ID Code of 7000. I've googled this, and there is nothing that relates to NAV, and just seems to be aimed at general Windows Server issues.0
-
It looks like you made a simple mistake in a path, when you used SC command.
I suggest you to check carefully your SC commands.
Also I want to pay your attention on syntaxis of SC; make sure that you have "space" between a parameter= and value. For instance, type='space here'share
For example, it should looks like following:
for NAVServer:SC CREATE "MicrosoftDynamicsNAV$NAV2009_R2_TEST" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_NAV2009_R2_TEST\Microsoft.Dynamics.Nav.Server.exe" DisplayName= "NAV2009_R2_TEST Server"
for NAVWebService:SC CREATE "MicrosoftDynamicsNAVWS$NAV2009_R2_TEST" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_NAV2009_R2_TEST\Microsoft.Dynamics.Nav.Server.exe $NAV2009_R2_TEST" DisplayName= "NAV2009_R2_TEST Web Service" type= share
Good luck0 -
Just looking at the sc commands that we have, and comparing them to the examples you included and the only difference I can find is in the binpath section I have $Live, $Test, $Train after the Microsoft.Dynamics.Nav.Server.exe file.
Would this be the problem, even though these files are in seperate folder locations.0 -
These $Live, $Test, $Train are used in both the Server and Web services.0
-
You should include $Live, $Test, or $Train only for WevService installation (not for server).
So in your case it should look something like this:
Server:
SC CREATE "MicrosoftDynamicsNAV$Live" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_Live\Microsoft.Dynamics.Nav.Server.exe" DisplayName= "Server Live"
WebService:
SC CREATE "MicrosoftDynamicsNAVWS$Live" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_Live\Microsoft.Dynamics.Nav.Server.exe $Live" DisplayName= "Web Service Live" type= share
*the path to executable directory is fictional0 -
frost_amo wrote:You should include $Live, $Test, or $Train only for WevService installation (not for server).
So in your case it should look something like this:
Server:
SC CREATE "MicrosoftDynamicsNAV$Live" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_Live\Microsoft.Dynamics.Nav.Server.exe" DisplayName= "Server Live"
WebService:
SC CREATE "MicrosoftDynamicsNAVWS$Live" binpath= "C:\Program Files\Microsoft Dynamics NAV\60\Service_Live\Microsoft.Dynamics.Nav.Server.exe $Live" DisplayName= "Web Service Live" type= share
*the path to executable directory is fictional
Thanks frost_amo. That worked. I'd realised that I'd put the $Live next to .exe without a space, so that would explain why it couldn't start the service.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions