Can't run database server as a service

Fommo
Member Posts: 138
Hi
I have a problem running Navision Database Server as a service (NAV 4.0SP3). Running the server in a command shell works perfectly fine. But then when I've using command attribute installasservice and try to start the service it says:
I've also tried to reboot the server, but the service won't start.
I have two different Navision server services I would need to be running. I have modified the services file with the recommended lines:
NAVSERVER 2407/tcp
NAVSERVERTEST 2408/tcp
None of the services is able to run.
What can be wrong? :?:
I have a problem running Navision Database Server as a service (NAV 4.0SP3). Running the server in a command shell works perfectly fine. But then when I've using command attribute installasservice and try to start the service it says:
Could not start the Microsoft Business Solution-Navision Database Server NAVSERVER service on local computer.
Error 1: Incorrect function
I've also tried to reboot the server, but the service won't start.
I have two different Navision server services I would need to be running. I have modified the services file with the recommended lines:
NAVSERVER 2407/tcp
NAVSERVERTEST 2408/tcp
None of the services is able to run.
What can be wrong? :?:
0
Comments
-
What is the size of the cache parameter? It cannot be > 800000.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Luc Van Dyck wrote:What is the size of the cache parameter? It cannot be > 800000.
Actually it can :shock: I also thought that the service would not start above 800,000, but read either here or on dynamicsuser.net that it was possible, so with some playing in reg edit and a lot of patience I got the server to start at around 950,000.
But yes in most cases when this error pops up, its most often because Commitcache is on and cache >800,000.
Also less common, but possible issues are:
Database name, check in reg edit if the name is correctly qualified with "s sometimes it puts two double quotes like " " F:\Dynamics NAV\Database01.fdb" " (no space between the quotes.) in this case use reg edit to remove the extra quote.
Permissions, sometimes if you install the service as someone other than the administrator then it will not start. (this is pretty rare, and I have not seen it since 3.10). to fix this you need to uninstall Client and server, then use reg esit to remove any traces left, then reinstall.David Singleton0 -
The cache size is only 8000 so I guess that should be fine.
Thanks for the other tips though, I'll try that.0 -
I've once had this (or a similar) message when I tried to open a 3.7 database with a 4.0x database server.
Thomas0 -
Does the user that runs the service have permissions to to the files on the server?Regards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 20090 -
David Singleton wrote:Luc Van Dyck wrote:What is the size of the cache parameter? It cannot be > 800000.
Permissions, sometimes if you install the service as someone other than the administrator then it will not start. (this is pretty rare, and I have not seen it since 3.10). to fix this you need to uninstall Client and server, then use reg esit to remove any traces left, then reinstall.
Thank You. The Regedit fixed my problem today. (update from NAV 4 to NAV 2009)0 -
David Singleton0
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