Microsoft Dynamics NAV Server will not start

awarn
Member Posts: 261
Hi,
I have had NAV2009 SP1 set up on my local machine for a while, and use it locally about once a week (the rest of the time working on the server). Because of this I have the service set to be started manually.
Today I tried to start the service and got this message
'The Microsoft Dynamics NAV Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.'
I am logged in just as I was before, I do not remember changing any settings on my computer in the past two weeks (it has been a week or two since I used the RTC locally). I have rebooted, SQL Express was able to start without issue.
I am wondering if anyone has seen this before, or if anyone can give me any tips on how to diagnose this problem.
thanks
Andrew
I have had NAV2009 SP1 set up on my local machine for a while, and use it locally about once a week (the rest of the time working on the server). Because of this I have the service set to be started manually.
Today I tried to start the service and got this message
'The Microsoft Dynamics NAV Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.'
I am logged in just as I was before, I do not remember changing any settings on my computer in the past two weeks (it has been a week or two since I used the RTC locally). I have rebooted, SQL Express was able to start without issue.
I am wondering if anyone has seen this before, or if anyone can give me any tips on how to diagnose this problem.
thanks
Andrew
0
Answers
-
OK well I fixed the problem.
I had changed the config file, and had not deleted a --> end of comment tag, and then once I fixed it in the config file the service started no problem.
Andrew0 -
Hi,
I have the same problem. How did you do that???? What did you change exactly in the config file?
Thanks for help. :oops:Regards
Hanen TALBI0 -
I do not remember exactly, but within the config file there is a lot of stray text, hat are comments, separated by:
<!--
this is a comment
-->
I had something like:
<!--
Name of the database server to connect to.
-->
-->
<add key="DatabaseServer" value="SERVERNAMEHERE"></add>
where the second --> was causing issues.0 -
Hi, I had had, apparently, the same problem than Andrew.
I'm working in a laptop (Compaq 6710b) with Windows XP sp3 and 3GB ram.
I start my laptop with an user in a domain and with this user I do all my works, and the maintenance of all the software in the laptop.
I installed SERVER 2008 R2
NAV2009 was working correctly and the Microsoft Dynamics NAV Server service was initiated correctly.
I detected a problem with my language (Spanish) because all the captions in language ESP without caption in ENU language were disappeared from the screen.
My decision :? was reinstall NAV 2009 R2 and this was the beginning of the problems.
After install and uninstall all that I have conscience that are related with all of this, my situation now is that I have SQL SERVER 2008 R2, NAV 2009 R2.
I can start my database without problems with SQL with the classic client but if I want start the RTC I have not chance.
The Micrososft Dynamics NAV Server service do not start, and the system gives me the same error :
'The Micrososft Dynamics NAV Server service on Local Computer started and the stopped. Some services ... bla bla ...'
The file CustomSettings.config, located at Program Files\Microsoft Dynamics NAV\60\Service has not issues, and I compared this file with another in a PC that is working correctly and are equal.
Anyone can give me how to diagnose the problem?Thanks a lot.0 -
Do you by any chance have another service running on the same port as the NST? If so you should enable the PortSharing service which is disabled by default
/ClausClaus Busk Andersen
Program Manager
Microsoft Dynamics NAV0 -
I'm sorry Claus, I haven't any other service with de same port (I have used cports.exe) and the port sharing is enabled, and I get the same error. ](*,)Thanks a lot.0
-
Ok - Do you see anything in the eventlog on the server machine?
/ClausClaus Busk Andersen
Program Manager
Microsoft Dynamics NAV0 -
Well, all of this is running in my laptop.
In the event log --> System I get two logs when I try to enable the Microsoft Dynamics NAV server:
1. Success Id. 7035 : and says (I don't know which is the translation in English) that was sent a control to enable the service and it was ok.
2. Success id. 7036 : (1 second after) The Microsoft Dynamics NAV Server gone to Stopped status.
Anything else remarkable.
:-kThanks a lot.0 -
Well, the Microsoft Dynamics Nav Sever was started successfully.
Don't ask what I have done exactly, or why now is working. I thought it was a windows problem with users, domains, permissions, etc... but not.
I uninstalled NAV 2009 R2 and then I installed the 2009 R2 directly from the msi files, manually, one by one:
Application Server, Classic, Database, Database Server, Documentation, Role Tailored Client, and Service.
After, I applied all the hotfix (6.00.32519).
I started the Microsoft Dynamics NAV Server and it was enabled succesfully. =D>
(I spent 1 week, installing, unistalling, looking for in Iternet, Mibuso, and others ...).
Now I can execute the RTC without problem, I can work with the layout of reports, and so on.
The Spanish Module is not installed. This will be the next step and I will see if this is the reason that the service is not able to start.
I believe in black holes.Thanks a lot.0 -
Hello All,
I have installed Nav2013 and Nav 2009 in same server in this case i face some issues while nav 2009 web services starting, please give me clear idea for manage this both server in same machine simultaneously.0 -
Hi Jai88
Don't use the same ports for both services or use tcp port sharing for both services________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0 -
Hi Gunnar Gestsson,
I already segregate the ports for Navision 2009 and Nav 2013 The Details are following.
Nav 2013 Ports Details :
SOAP : 7047
Client Port : 7046
ODATA : 7049
Management Services : 7045
Nav 2009 Ports Details :
Server Port : 7049
Web Service Port : 7051
Please Clear me what are procedures for this both installation and now i face another issue that is i run the page in navision 2013 is automatically open is RTC 2009.0 -
You should check the Application log in Event Viewer. Perhaps the user running the service does not have the required permissions for the tcp/ip port or for the database.
both NAV 2009 and NAV 2013 uses DynamicsNAV:// to start objects. The version registered to handle this type of URL will start from the developement environment. There are some solutions, I personally use a Page that lists all the objects in the database with a start button that works for pages, codeunits and reports.________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0
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