#13 Can I install the Client/Server as a Service?

FAQs (Frequently Asked Questions) for ClinicOffice 2005
Forum rules
These articles are created and maintained by our support staff. Please feel free to post a reply to an article if you need more information on a subject or any clarification.
Post a reply

#13 Can I install the Client/Server as a Service?

Postby Support » December 14th, 2006, 11:09 am

Yes you can.

STEP 1
Firstly, please make sure that the ClinicOffice Server (COServer) is NOT running on your computer. If it is running, then right-click the little yellow icon in the system tray and click Exit Server.

(Note: If your server uses Remote Desktop or Terminal Services to allow multiple users at the same time, you may need to check that no-one else is logged and is perhaps unknowingly running COServer on their account. The easiest thing to do is just make sure you're the only person logged on when you do this.)

STEP 2
We've noticed that on some windows server setups, when COServer is installed as a process, windows denies it write access to a small configuration file so that it can't save it's settings, so we recommend setting this file manually before you install the service.

This file is stored in the "Shared Documents\ClinicOffice 2005" folder in your "All Users" windows account.
- Click START, then RUN
- Type (or copy and paste) the following into the RUN box:-
%allusersprofile%\Documents\ClinicOffice 2005
- Click OK
Double click on the "ClinicOffice Server.ini" file in this folder to open the file in Notepad. The only line we need to edit is the one that says "Database Folder=". Simply enter the folder where your database is stored e.g.
Code: Select all
[Server Parameters]
Database Folder=C:\My Clinic Database Folder
Server Address=
Server Port=12005
Server Thread Cache Size=10


Save the file (File | Save) and exit Notepad.

STEP 3
Now you need to run the ClinicOfficeServer.exe executable file with the -install command line parameter. Presuming that you installed ClinicOffice to the default location ("C:\Program Files\Pioneer Software\ClinicOffice 2005") then you can simply do the following :-
- Click START, then RUN
- Type (or copy and paste) the following into the RUN box (note the double quotes are required) :-
"C:\Program Files\Pioneer Software\ClinicOffice 2005\ClinicOfficeServer.exe" -install
- Click OK
You should now see a message telling you that the service was installed successfully.

STEP 4
Lastly we need to start the service. To do this, we go to the Windows Services console :-
- Click START, then RUN
- Type (or copy and paste) the following into the RUN box :-
services.msc
- Click OK
If you look down the list of system services, you should see ClinicOffice Server in the list. Double click on it. Make sure that the "Startup Type" is set to "Automatic" which means that the COServer process will automatically start whenever this computer boots up in future.

For now though we need to start the service manually, so click the START button. You can now close down the services console. If you are logged on 'directly' (i.e. not via Remote Desktop or Terminal Services) to your Windows Server computer as an administrator, then you should now see the small yellow icon in the system tray at the bottom right of the screen.

You can always check the status of the COServer process by going to the Services console again (see above).

For a more in-depth look at starting/stopping system services, here's a link to a Microsoft article which may help :-
http://technet2.microsoft.com/WindowsServer/en/library/03928250-2796-4253-8fb1-b25329ddf35f1033.mspx?mfr=true


How do I remove COServer from being a service?
Simply run the ClinicOfficeServer.exe executable file with the -uninstall command line parameter. Presuming that you installed ClinicOffice to the default location ("C:\Program Files\Pioneer Software\ClinicOffice 2005") then you can simply do the following :-
- Click START, then RUN
- Type (or copy and paste) the following into the RUN box (note the double quotes are required) :-
"C:\Program Files\Pioneer Software\ClinicOffice 2005\ClinicOfficeServer.exe" -uninstall
- Click OK
You should now see a message telling you that the service was uninstalled successfully.
ClinicOffice Support Team
User avatar
Support
Site Admin
 
Posts: 875
Joined: August 25th, 2005, 6:37 pm
Top

Post a reply

Return to FAQ Articles

Who is online

Users browsing this forum: No registered users and 2 guests