How to set parameters to start with service?

LosJ
Member Posts: 7
Hopefully this is a simple question. I just re-installed the Navision Server (v 2.6E) on my Windows Small Business Server 2003. I can log into my database no problem, but the default settings do not have the settings I want. Here is the parameter I would like the Navision Server service to start with:
servername=nfserver,nettype=tcp,cache=20000,commitcache=yes,database=f:\Navision Server 2.60\ubs260b.fdb
I can stop the service in Windows and then manually run the Server file with the above parameter. How can I change the service in Windows so that it always starts Navision with the above parameters?
servername=nfserver,nettype=tcp,cache=20000,commitcache=yes,database=f:\Navision Server 2.60\ubs260b.fdb
I can stop the service in Windows and then manually run the Server file with the above parameter. How can I change the service in Windows so that it always starts Navision with the above parameters?
0
Comments
-
Nevermind. I searched through the registery and found the values I needed to change. :roll:0
-
search through the registery! I'm sure you'll find the the values you need to change."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
For others that might want to know. You can change parameters of you service by using uninstallasservice and instalasservice parameters.
In your case you should do it in 2 steps. First unistall service:x:\path\server.exe uninstallasservice
And then runx:\path\server.exe servername=nfserver, nettype=tcp, cache=20000, commitcache=yes, database=f:\Navision Server 2.60\ubs260b.fdb, installasservice
I hope I haven't made any typos...®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0 -
Just to let you know, if the service is going to have the same name the uninstallasservice is not required.And then run
x:\path\server.exe servername=nfserver, nettype=tcp, cache=20000, commitcache=yes, database=f:\Navision Server 2.60\ubs260b.fdb, installasservice
This will uninstall the service make the chages(which are held in the DBMS.zup) and re install the service. When making changes you only need to list the parameters that you are changing, and you may need to add quote marks round the databse file path.
regards
Ian0 -
Maybe you know, maybe you don't...
I made a very little tool with which you can install and uninstall Navision servers quite easy.
It's downloadable from mibuso :
http://www.mibuso.com/dlinfo.asp?FileID=304"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
I have also just remebered that you can also use MS Management console.®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯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